Carlos E. R. wrote:
But, why are there two versions on the DVDs? When should we use one or the other?
http://java.sun.com/j2se/1.5.0/compatibility.html This details incompatibilities between 1.4.2 and 1.5.0 (which, btw, Sun seems to be calling 5.0). For the most part, they don't seem to be of much significance except in circumstantces that perhaps won't concern most users. A lot of it details specific uses that will have to be recoded, or else java recompilation is necessary with strict 1.4.2 compatibility enabled.. For most people, these incompatibilities mean that a few applications, coded for 1.4.x and using specific features where incompatibility exists, will probably fail in specific, and perhaps uncommon, instances with 1.5. For these, you would need to install 1.4.2, unless you wanted to recompile 1.5. OTOH, there may be a few applications which have been rewritten for java 1.5 compatibility, and these will probably fail with 1.4.2. For these, you would need to install 1.5.0. Oh, and I must not forget to mention the significant package renaming ( :-| ). J2SDK, for example, now becomes JSDK.