jre 1.4 compatibility?

hello,

we’re planning to develop a java game applet and SGS looks very interesting,
although the client can only run with jre 5 : compiling it with target=“1.4” source=“1.4” works ok, but gives an “Exception in thread “main” java.lang.UnsupportedClassVersionError: com/sun/gi/comm/users/client/ClientConnectionManagerListener Unsupported major.minor version 49.0” when ran.

Would it be possible to get our hands on a 1.4 friendly SGSClient.jar ?

I’ve already read the previous post where jeff was thinking about releasing one, but that was a long time ago.

thanks in advance
r

edit: to the question: why 1.4? most web users run 1.4 and i would myself dislike to install 1.5 just to play a small game…

The answer as to why not 1.4 is because…

(1) The server and the client APIs share code
(2) 1.5 has quite a few good maintainability features that we want for the server codebase.

I’m not going to get to buuilding a 1.4 SDK version soon… but there is a tool out tehre written by oen of our members that converst 1.5 JAR files so they cna be used for 1.4 Maybe someone can rememerb the name or post a pointer.

On the rest, Id like to see your data supporting the statement that “most web users use 1.4” IME most users either only run 1.1 (because they are using MVM) or are up to the latest stable JDK release-- particularly since the JDK has auto-updated for awhile now.

Hi

I’ve never used it, but one tool is retroweaver

HTH

Endolf

Thats the one I was thinking of. Thanks End.

ah so that toasts a 1.4 compatible client…

1.5 for server was n.p.

wow, thanks! thats exactly what i was looking for! topic closed :slight_smile:

a know-it-all friend told me it was bundled with windows xp sp2, but i don’t have serious data supporting it.

r

Um hes wrong AFAIK

There is no JDK bundled with WIn32 anymore unless something happend that I dont knwo about. Microsft’s MVM which is approximately 1.1 is bundled with IE, which is included with XP, so yo ucould say that XP bundles 1.1

HOWEVER many of the major system makers (eg DELL) are bundling the VM with new systems. This strated with 1.4 but I believe they are bundling whatever the latest release at the tiem is.

Staring with 1.4 however on Win32 we’ve had auto update, so even if the system is bundled with 1,4 its going to upgrade pretty quickly to 1.5 if it is connected to the internet.