On Mon, 27 Jun 2005, Martijn Mulder wrote:
> At Sun's download page at
>
> http://java.sun.com/j2se/
>
> I have the choice between J2SE version 1.4.2 and
> J2SE version 5.0. I program applications and applets
> for the average Windows user.
There are some significant syntax changes from 1.4.2 to 1.5.0 (also called
J2SE 5.0). If you are just programming for yourself then go for 1.5.0. If
you want to be able to write code that 1.4.2 can use then be careful. Some
1.5.0 code will not work on 1.4.2 but all 1.4.2 code will work on 1.5.0.
> It seems there is missing some three and a half version
> of J2SE. Or is this policy at Sun, where they shipped
> Java2 as JDK1.3.1 (to complicate matters).
With Sun there is marketing and there is development. It seems the two
will always differ. Here is the basic run down:
Dev Marketing
--- ---------
1.0 Java 1.0
1.1 Java 1.1
1.2 Java 2 or J2SE
1.3 J2SE 1.3
1.4 J2SE 1.4
1.5 J2SE 5.0
1.6 Java SE 6
To be honest, I probably got something wrong. I always talk in terms of
what `java -version` or `java -fullversion` outputs. All this Java 2,
J2SE, Java SE stuff is really just marketing and branding. I let our
marketing people deal with what (tm) and (c) stuff goes in the
documentation and adverts.
I'd recommend 1.5.0_03-b07. The 1.6.0 is the next release so you want to
stick with something that has been out there in production environments.
That would be 1.5.0.
--
Send e-mail to: darrell dot grainger at utoronto dot ca