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.
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.
When will J2SE 1.5 be ready and where can I find more info about it?
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.
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.
Yes, especially on OS X and Netware
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.
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
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)
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.
“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.
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.
They are written in C not in Java IIRC
how is it possible that the j2sdk-1_4_2_02-windows-i586-p-iftw.exe is only 356 kb in size?
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.
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
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.