Re: Which version of J2SE should I download.
Andrew Thompson wrote:
Sanny wrote:
For Applets I want them to run on as many computers as possible.
Applets run on many computers, but few browsers. On my computer I cannot run
applets at all (some fubar between Firefox and 64-bit Linux, or else in how
Fedora packages the browser), but I can run Java Web Start programs.
If I Compile with J2SE 5.0
Java 5 is old. Use Java 6.
Will people with JVM 1.3, JVM 1.4 will be able to run the Applets.
To ensure they can, you need to speficy the -srouce, -target and
most importantly -bootclasspath when compiling.
I recommend that you develop in Java 6 with the options that Andrew mentions.
I suggest that you /target/ Java 1.4 (1.3 being far too old and obsolete, to
boot). You will need a 1.4 JRE to satisfy the -bootclasspath option. You can
have multiple JREs / JDKs on your system.
The features I will be using are only of Java
1.2 But compile with Java 1.5. So will those browsers with Java 1.2,
1.3 or 1.4 be able to view my applets?
Use 1.4 as your target.
If the options above are used (all of them), yes.
...
Does applets run faster when compiled with Higher versions Or they run
at same speed?
No, though most applets will run faster on a later
JRE, as Sun improves JIT algorithms and such.
They run fastest on a Java 6 JVM.
--
Lew