Home > Java > Java 2 Platform, Standard Edition (J2SE) 1.4.2_02 Released Java 2 Platform, Standard Edition (J2SE) 1.4.2_02 Released Submitted by Deniz Kaan Çopur 2003-10-22 Java 15 Comments Java 2 Platform, Standard Edition (J2SE) 1.4.2_02, containing many bug fixes on all the supported platforms, is released. Check out the release notes and download. About The Author Eugenia Loli Ex-programmer, ex-editor in chief at OSNews.com, now a visual artist/filmmaker. Follow me on Twitter @EugeniaLoli 15 Comments 2003-10-22 4:42 pm When will J2SE 1.5 be ready and where can I find more info about it? 2003-10-22 5:09 pm http://java.sun.com/j2se/ <– Info. related to J2SE. There are some articles related to upcoming J2SE 1.5 (a.k.a. Tiger) http://java.sun.com/ <– Info. related to Java in general. Acording tu Sun, Tiger will be available on 2004. Maybe we will see a first beta in 2003. 2003-10-22 5:21 pm Hey sun! Why do you not have an OSX, or Netware version? Why do vendors not co-operate with each other. That is why MS always wins. 2003-10-22 5:40 pm Yes, especially on OS X and Netware 2003-10-22 5:42 pm If you go to java.sun.com and search on “mac os” the first hits mention Java 1.3.1 and Java 1.4.1 for Mac OS X. If you go to developer.novell.com/tech/java.html you might be similarly suprised. So…what’s your point, again? Java is pretty ubiquitous. Perhaps this latest minor update hasn’t gotten around, yet, but it is generally wiser to develop to an older more stable version of the SDK, anyway. 2003-10-22 6:26 pm I’m looking for Java 1.5 in a big way. The generics support is going to be extremely useful for everyone, and cut down on programming errors to boot. -Erwos 2003-10-22 6:30 pm Looked at the “enhanced for statement” in Java 1.5. They have come up with the worst way of doing this. EnhancedForStatement: for ( Type Identifier : Expression ) Statement That means if you have a collection C, with strings, and you want to extract each String, you must write for (String s : c) A better approach would be to write for (String s in c) or foreach (String s in c) or foreach (c as String s) 2003-10-22 6:46 pm not have an OSX I’d rather wait for Apple to make it available through the OS X Software Update. Even now “java -version” on OS X 10.2.8 displays “build 1.4.1_01-24”, so it is rather recent. 2003-10-22 8:12 pm “A better approach would be to write for (String s in c) or foreach (String s in c) or foreach (c as String s) ” No it would not be better. How many programs have vairables called “in” (for reading from a file for example)? Every time you add a keyword you limit the number of variable names AND break existing code. That is why languages try to avoid adding keywords once they are established. Changing it from for to foreach probably wouldn’t break much code… but the idea is the same. 2003-10-23 12:04 am I upgraded from 1.4.1 which was working perfectly in both mozilla and firebird and now java apps no longer work. The java control panel says could not detect if mozilla is properly installed when I try to associate it there. The mozilla about:plugins page shows the java plugins detected but not associated to the file extensions. Anyone have it working? And if you havent upgraded yet and are using mozilla I suggest you wait off. 2003-10-23 12:15 am They are written in C not in Java IIRC 2003-10-23 12:20 am how is it possible that the j2sdk-1_4_2_02-windows-i586-p-iftw.exe is only 356 kb in size? 2003-10-23 4:00 am Re: size? Did you not notice the Windows offline file right after the Windows one? The first one downloads what is needed off of the interenet while the installation is running. 2003-10-23 4:20 am Re: Broken Mozilla Firebird You might have already done this if java was working for you before, but did you make the registry edits that are recommended at http://plugindoc.mozdev.org/faqs/java.html ? Did you restart after you installed the new Java like it tells you to? I am using the new jre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031015 Firebird/0.7 (aebrahim) which is basically 0.7 with SSE2 optimizations. Everything works fine here, but I did have to tell it to use the default extensions to open JNLP (webstart) files. Applets worked without any problems. If you are still having problems you might want to try http://forums.mozillazine.org/index.php?c=4 . Will 2003-10-23 11:04 pm For anyone with the same problem, the fix is as follows: add this registry key: under “HKEY_LOCAL_MACHINESoftwaremozilla.orgMozilla” add a string value named “CurrentVersion” with the value “1.5” Thanks for the suggestions, although I remember doing this before, seems like somewhere during the upgrade it got removed. Wierd.