Sun has released JDK 1.4.2. This release has new features, performance improvements, and over 2400 bug fixes. Some of these include: Class.forName() has been sped up, Itanium support, many hotspot improvements, NTLN auth for windows, AES encryption support in SunJCE, new Swing look and feels, startup time improvements, and many more.
Download JDK 1.4.2
JDK 1.4.2 Release Notes
JDK 1.4.2 Bug Fixes
-
Sun Releases JDK 1.4.2 (32 messages)
- Posted by: Dion Almaer
- Posted on: June 29 2003 01:06 EDT
Threaded Messages (32)
- Sun Releases JDK 1.4.2 by Michael Mattox on June 29 2003 02:46 EDT
- what kind of drugs you on? by Michael McCutcheon on June 29 2003 04:20 EDT
- so they had over 2000 bugs ??? by sean decor on June 29 2003 02:38 EDT
- what kind of drugs you on? by Michael McCutcheon on June 29 2003 04:20 EDT
- Sun Releases JDK 1.4.2 by samik das on June 29 2003 15:42 EDT
- What about StringBuffer memory leak? by Alastair Rodgers on June 30 2003 05:32 EDT
- JVM by Vic Cekvenich on June 30 2003 06:58 EDT
- JVM by Cameron Purdy on June 30 2003 07:10 EDT
- JVM by Wille Faler on June 30 2003 07:24 EDT
-
SUN in bad financial shape is irrelevant by Arne Vajh??j on June 30 2003 07:25 EDT
-
SUN in bad financial shape is irrelevant by Vic Cekvenich on June 30 2003 07:44 EDT
- SUN in bad financial shape is irrelevant by Steve Lewis on June 30 2003 09:39 EDT
- So... by Arne Vajh??j on June 30 2003 10:40 EDT
-
SUN in bad financial shape is irrelevant by Manish Sharan on June 30 2003 11:51 EDT
-
SUN in bad financial shape is irrelevant by Vic Cekvenich on June 30 2003 12:23 EDT
- Oracle ships with J:Rockit? by Sjoerd Michels on June 30 2003 03:38 EDT
-
SUN in bad financial shape is irrelevant by Vic Cekvenich on June 30 2003 12:23 EDT
- LOL by Vladimir Korenev on June 30 2003 12:35 EDT
-
SUN in bad financial shape is irrelevant by Detlef Schulze on June 30 2003 12:58 EDT
-
the award for best jvm on Linux goes to ?? by Manish Sharan on June 30 2003 03:23 EDT
-
Blackdown JDK 1.4.1 by #dac on June 30 2003 04:21 EDT
- Blackdown JDK 1.4.1 by Juozas Baliuka on July 01 2003 07:51 EDT
-
JVM Performance by Lofi Dewanto on July 01 2003 04:49 EDT
-
JVM Benchmark by Andre Augusto Oliveira Aragao on July 02 2003 07:13 EDT
-
JVM Benchmark by Andre Augusto Oliveira Aragao on July 02 2003 07:36 EDT
-
JVM Benchmark by Juozas Baliuka on July 02 2003 10:36 EDT
- JVM Benchmark by Andre Augusto Oliveira Aragao on July 02 2003 01:24 EDT
-
JVM Benchmark by Juozas Baliuka on July 02 2003 10:36 EDT
-
JVM Benchmark by Andre Augusto Oliveira Aragao on July 02 2003 07:36 EDT
-
JVM Benchmark by Andre Augusto Oliveira Aragao on July 02 2003 07:13 EDT
-
Blackdown JDK 1.4.1 by #dac on June 30 2003 04:21 EDT
-
the award for best jvm on Linux goes to ?? by Manish Sharan on June 30 2003 03:23 EDT
-
Sun SDK by Artem Kornilov on June 30 2003 04:00 EDT
-
Sun SDK by Brian Miller on June 30 2003 04:19 EDT
- Sun SDK by Artem Kornilov on June 30 2003 04:20 EDT
-
Sun SDK by Brian Miller on June 30 2003 04:19 EDT
-
SUN in bad financial shape is irrelevant by Vic Cekvenich on June 30 2003 07:44 EDT
- What about StringBuffer memory leak? by Ash Searle on June 30 2003 10:54 EDT
- JVM by Vic Cekvenich on June 30 2003 06:58 EDT
- Sun Releases JDK 1.4.2 by Cameron Purdy on June 30 2003 12:15 EDT
- jupdate scheduler crap by Raymond Roestenburg on July 01 2003 08:29 EDT
- Benchmarks by Stephen Olano on July 07 2003 20:50 EDT
-
Sun Releases JDK 1.4.2[ Go to top ]
- Posted by: Michael Mattox
- Posted on: June 29 2003 02:46 EDT
- in response to Dion Almaer
This looks more like a move to push their NetBeans IDE than fix java bugs. -
what kind of drugs you on?[ Go to top ]
- Posted by: Michael McCutcheon
- Posted on: June 29 2003 04:20 EDT
- in response to Michael Mattox
They fixed over 2000 bugs. Get a clue bub. With all of the improvements, it looks like a good, solid release.
Mike -
so they had over 2000 bugs ???[ Go to top ]
- Posted by: sean decor
- Posted on: June 29 2003 14:38 EDT
- in response to Michael McCutcheon
Thats a hell lot !!! Given the fact that jdk 1.3 had 8 patches released
( 1.3.1_08), i wont still go with this 1.4.2 as the last and the best. I m sure they are working on rest of the 2000 for next months release :) -
Sun Releases JDK 1.4.2[ Go to top ]
- Posted by: samik das
- Posted on: June 29 2003 15:42 EDT
- in response to Dion Almaer
-
What about StringBuffer memory leak?[ Go to top ]
- Posted by: Alastair Rodgers
- Posted on: June 30 2003 05:32 EDT
- in response to Dion Almaer
So what's happened to the notorious StringBuffer memory leak bug, #4724129? This got 520 votes on BugParade (far more than any other in the list) and is marked as "Closed, fixed" for releases "1.4.1_05" and "mantis-rc" (presumably meaning the first 1.4.2 release), but it's not in the list of fixed bugs.
Anybody know what's going on? -
JVM[ Go to top ]
- Posted by: Vic Cekvenich
- Posted on: June 30 2003 06:58 EDT
- in response to Alastair Rodgers
Consider not using Sun VM.
This guy thinks Sun is going out of business:
http://www.pbs.org/cringely/pulpit/pulpit20030213.html
You do not want your clients stuck on Sun's Java.
Instead use jRockit
http://www.bea.com/framework.jsp?CNT=garbage_collectors.htm&FP=/content/products/jrockit/features/
or good old IBM VM (jikes etc.).
This way is something happens to Sun, it's a non event for you clients.
Also JRockit VM proved faster in my testing.
.V -
JVM[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: June 30 2003 07:10 EDT
- in response to Vic Cekvenich
Vic -
Aren't you getting a bit vitriolic? It doesn't seem to make a huge difference which JVM you use. I'd suggest just using whichever one meets your needs best. And unless someone uncovers a massive accounting scandal at Sun, I don't think they're going out of business any time soon.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster! -
JVM[ Go to top ]
- Posted by: Wille Faler
- Posted on: June 30 2003 07:24 EDT
- in response to Vic Cekvenich
Yep.
You really should take a guy seriously who spreads these kinds of rumours.
He had a few interesting other ones:
* Microsoft will build its next Windows on Linux
* Microsoft is absolutely behind the SCO vs IBM thing (well, some conspiracy theorists might agree, I think they just like whats happening, but dont want to get their hands dirty to obviously by associating with SCO)
And the list goes on..
Well then, Sun has to go bankrupt soon! It can only be the truth! :) -
SUN in bad financial shape is irrelevant[ Go to top ]
- Posted by: Arne Vajh??j
- Posted on: June 30 2003 07:25 EDT
- in response to Vic Cekvenich
One of the good things SUN did was insist on binary compatibility.
Which means that you can run the same binary on SUN JVM and JRockit JVM.
So if SUN JVM disappeared tomorrow, then you could switch tomorrow.
No need to do anything today.
So SUN's financial status is of huge interest to SUN stockholders,
their competitors and all the stock analysts.
But completely irrelevant when deciding on what JVM to use. -
SUN in bad financial shape is irrelevant[ Go to top ]
- Posted by: Vic Cekvenich
- Posted on: June 30 2003 07:44 EDT
- in response to Arne Vajh??j
-Leak on JSP compile
-Leak on StringBuffer
-GC that freezes for 15 seocnds or more
-Lack on multi maching VM remote montiroing of GC
-Up to 50% slower.
-Not allowed to distirbute SDK with war, on JRE ... I can't compile.
So I use BEA VM, becuase I like it, and above. It has a great white paper (but if you read it... you might switch to)
Of course, I provided the link of the person that stated Sun is not doing good, so you can read that link or not as to that persons opinion.
The reason it matters to me that Sun might not be doing good, as a consultant, is that I want my clients on Java, becuase I know Java. If my clients are using Sun VM today, and something happens to Sun, they might think, hey "Java is dead, lets go .Net".
But if they are runung a BEA VM, I have already sold them on "Java != Sun", today.
Java is about choice, and my choice is BEA VM. You can chose another VM, ok by me.
Also, to say that C# is not crossplatform is wrong (Ex: Mac and Mono), it is a worthy competitor. Borland and MavNet.sf.net are at C# allready.
.V -
SUN in bad financial shape is irrelevant[ Go to top ]
- Posted by: Steve Lewis
- Posted on: June 30 2003 09:39 EDT
- in response to Vic Cekvenich
Congrats on reading the marketing materials.
Steve -
So...[ Go to top ]
- Posted by: Arne Vajh??j
- Posted on: June 30 2003 10:40 EDT
- in response to Vic Cekvenich
So we agree that SUN's financial status is irrelevant for choice
of JVM ?
I have absolutely no problem with people preferring BEA JVM for
specific technical reasons.
It is my impression (based on relative little use though) that
BEA is a very good JVM for multithreaded servers.
Which ofcourse is the market of interest in this forum.
But not the same as the entire Java market. -
SUN in bad financial shape is irrelevant[ Go to top ]
- Posted by: Manish Sharan
- Posted on: June 30 2003 11:51 EDT
- in response to Vic Cekvenich
vic,
You make me miss Rolf! Rolf had better command of the English language and his remarks were often witty. Rolf perfected the art of spreading FUD : he argumets where based on solid foundations even though he maged to twist them to further his case,he did it by sounding sincere with the right touch of humor. You sound like you swallowed a pitcher of bile.
You mix up wierd prognostications from hack on PBS who nobody has heard of with some issues lifted off the bug list. Dude, every SDK or JVM has issues : just because you haven't stumbled upon them doesn't mean they dont exist. Same goes for Jrocket or whatever other JVMs you offer as alternative. Go with whatever JVM works for you. In my case, I used IBM SDK on Linux and Sun JDK on Windows and then test the hell out of my code on both.
If I werent so darn lazy , I would probably try JRocket. But if I were to go by your logic , I shouldn't be touching it as BEA's jRocket as BEA's marketshare may be threatened by the likes of Jboss etc.
I dont mind the FUD -- but make it amusing! -
SUN in bad financial shape is irrelevant[ Go to top ]
- Posted by: Vic Cekvenich
- Posted on: June 30 2003 12:23 EDT
- in response to Manish Sharan
Mainsh, for you amusement, here is the "marketing" I read a long time ago on jrockit, since before J:rockit was aquired by BEA, it is a very nice VM:
http://www.bea.com/content/news_events/white_papers/BEA_JRockit_wp.pdf
Sun might be more targeted at client side java.
BEA uses J:Rockit. Oracle ships with J:Rockit also.
IBM uses IBM VM.
So from market share point, that is a big chunk of market not using Sun JVM.
jBoss does not have a VM, if they did, but kaffe.org does have a VM (and kaffe to be included by RH maybe, if you like to look at market share).
FUD?
My soap box is "Sun != Java", Java is cross platform, pick a vendor.
.V -
Oracle ships with J:Rockit?[ Go to top ]
- Posted by: Sjoerd Michels
- Posted on: June 30 2003 15:38 EDT
- in response to Vic Cekvenich
Oracle ships with J:Rockit? That I'll be the day!
Get serious. -
LOL[ Go to top ]
- Posted by: Vladimir Korenev
- Posted on: June 30 2003 12:35 EDT
- in response to Vic Cekvenich
So I use BEA VM, becuase I like it, and above. It has a great white paper
Do you need the best white paper? Try Sun's HotSpot! :))
Joking apart, it is a very fast VM. I was very pleased when I switched from IBM's JDK 1.3.0 to Sun's 1.3.1 (on Windows). -
SUN in bad financial shape is irrelevant[ Go to top ]
- Posted by: Detlef Schulze
- Posted on: June 30 2003 12:58 EDT
- in response to Vic Cekvenich
There's no JRockit for Solaris plus JRockit is not free in terms of money. I also found some problems with stability of the VM (at least with version 8).
Overall I didn't see a great difference in performance that made me think about switching to JRockit.
just my 2 cents. -
the award for best jvm on Linux goes to ??[ Go to top ]
- Posted by: Manish Sharan
- Posted on: June 30 2003 15:23 EDT
- in response to Detlef Schulze
Can anyone recommend the best JVM for Linux ? I had opted to use IBM JDK on Linux quite a while ago because I think Sun JVM on Linux had isuses with their thread implementation or so I heard. I wonder if that issue is solved yet ?
Is there some data on JVM performance on Linux ? -
Blackdown JDK 1.4.1[ Go to top ]
- Posted by: #dac
- Posted on: June 30 2003 16:21 EDT
- in response to Manish Sharan
Try the most stable and fast Java VM for Linux ... www.blackdown.org
Only for compliance with SUN they named their 1.4.1 release 1.4.1_001 and NOT
because of bug fixing release versioing ... It's strange that no one here mentioned this JVM, is very popular as far as I know ... -
Blackdown JDK 1.4.1[ Go to top ]
- Posted by: Juozas Baliuka
- Posted on: July 01 2003 07:51 EDT
- in response to #dac
It is the SUN's JDK ports, is not it ? -
JVM Performance[ Go to top ]
- Posted by: Lofi Dewanto
- Posted on: July 01 2003 04:49 EDT
- in response to Manish Sharan
Check out the JVM performance comparison from ObjectWeb:
JMOB: http://jmob.objectweb.org/
JVM Comparison: http://jmob.objectweb.org/jvm.html
=> RUBiS benchmark, VolanoMark Benchmark and SPECjbb2000 Benchmark
Regards,
Lofi.
http://openuss.sourceforge.net -
JVM Benchmark[ Go to top ]
- Posted by: Andre Augusto Oliveira Aragao
- Posted on: July 02 2003 07:13 EDT
- in response to Lofi Dewanto
HI!
I would like to post some results, to see If someone could help me to understand whats happening here. The 1.4.2 white paper (http://java.sun.com/j2se/1.4.2/1.4.2_whitepaper.html) seems to imply that only j2sdk 1.4.2 has support for the new NPTL Linux threads. But the results that I had show otherwise.
I benchmarked using a simple web application with Jboss321. The requests go through an AAS filter that contacts an NT Server via NTLM (using jcifs) for authentication purposes. It also retrieves user profile information from a backend database, using JDBC. In the test, a JSP page shows the profile information.
The benchmark setup is as follows:
Hardware Setup:
Machine A (Redhat 8 - Server Installation): Pentium III 933 Mhz, 512 Mb Ram
Machine B (Redhat 9 - Server Installation): Pentium III 933 Mhz, 512 Mb Ram
Machine C (Windows NT Server): Pentium III 866 Mhz, 1 GB Ram
Software:
A e B: Jboss321 with Jetty configured for 500 threads, and the db connection pool configured for 200 connections.
C: Oracle 8i (8.1.7)
Load test software: Ms Web Application Stress Tool
Load: 400 simultaneous users
The results:
Redhat 8 (-Xms256 -Xmx256) Redhat 9(-Xms256 -Xmx256)
Jvm1.4.1 80 req/s 199 req/s
Jvm1.4.2 88 re/s 204 req/s
Interesting, in the machine with Redhat 9 the results are quite similar...
Just for fun, I used the +XX:Aggressive in the machine with Redhat 9. The results:
Jvm1.4.1: 194 req/s
Jvm1.4.2: 170 req/s
But, anyway, I don´t think Aggressive must be used with this low-end hardware, so this results are useless...
What do you think?? It seems that Jvm1.4.1_03 also supports the NPTL. Anyway, I think the JVM depends on the system thread implementation. Its abstracted, thus, in theory, any Jvm would perform better with Redhat 9, am I right?
Andre -
JVM Benchmark[ Go to top ]
- Posted by: Andre Augusto Oliveira Aragao
- Posted on: July 02 2003 07:36 EDT
- in response to Andre Augusto Oliveira Aragao
I forgot the test run length: 10m
Andre -
JVM Benchmark[ Go to top ]
- Posted by: Juozas Baliuka
- Posted on: July 02 2003 10:36 EDT
- in response to Andre Augusto Oliveira Aragao
I am afraid you have tested Application,JBoss,Jetty,Oracle, JDBC Driver, ... your network, but not the JVM. -
JVM Benchmark[ Go to top ]
- Posted by: Andre Augusto Oliveira Aragao
- Posted on: July 02 2003 13:24 EDT
- in response to Juozas Baliuka
"I am afraid you have tested Application,JBoss,Jetty,Oracle, JDBC Driver, ... your network, but not the jvm."
Well, everything you said was equal. Only the operational system was different. My reasoning was that the 1.4.1_03 also supports NPTL threads in Redhat 9, not only 1.4.2, as Sun implies.
Regards,
Andre -
Sun SDK[ Go to top ]
- Posted by: Artem Kornilov
- Posted on: June 30 2003 16:00 EDT
- in response to Vic Cekvenich
-Not allowed to distirbute SDK with war, on JRE ... I can't compile.
This is not entirely true!
Just read Redistribution of Java 2 SDK Files section of the JREs README.txt. It clearly states that one can include all the files needed for the compilation support with the JREs redistributable.
Artem -
Sun SDK[ Go to top ]
- Posted by: Brian Miller
- Posted on: June 30 2003 16:19 EDT
- in response to Artem Kornilov
Just read Redistribution of Java 2 SDK Files section of the JREs README.txt. It clearly states that one can include all the files needed for the compilation support with the JREs redistributable.
Does this allow redistribution of the SDK's tools.jar? -
Sun SDK[ Go to top ]
- Posted by: Artem Kornilov
- Posted on: June 30 2003 16:20 EDT
- in response to Brian Miller
Does this allow redistribution of the SDK's tools.jar?
Yes!
Artem -
What about StringBuffer memory leak?[ Go to top ]
- Posted by: Ash Searle
- Posted on: June 30 2003 10:54 EDT
- in response to Alastair Rodgers
Comparing the comments from the bug parade with the StringBuffer in src.jar that comes with j2sdk1.4.2 it looks like the bug is fixed. -
Sun Releases JDK 1.4.2[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: June 30 2003 12:15 EDT
- in response to Dion Almaer
I'm still waiting for the 64-bit JVM on Linux / Windows on Opteron support.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster! -
jupdate scheduler crap[ Go to top ]
- Posted by: Raymond Roestenburg
- Posted on: July 01 2003 08:29 EDT
- in response to Dion Almaer
Is that jupdate scheduled, "i wanna be like windows update" crap piece of software still in there? i hope not... -
Benchmarks[ Go to top ]
- Posted by: Stephen Olano
- Posted on: July 07 2003 20:50 EDT
- in response to Dion Almaer