OpenJDK vs Sun JDK Versions
Erik Trimble
Erik.Trimble at Sun.COM
Mon May 11 15:20:42 PDT 2009
OpenJDK version numbering seems to be disjoint from Sun JDK numbering.
Here on my Ubuntu 8.04 32-bit machine (openjdk-6-jre-6b11-2ubuntu2.1) ,
I get this:
% java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Client VM (build 1.6.0_0-b11, mixed mode, sharing)
In theory, the second line (the VM version string), should report the
current contents shown in
http://hg.openjdk.java.net/jdk6/jdk6/hotspot/make/hotspot_version
which _should_ show "build 11.0-b17", as the current OpenJDK-6 Hotspot
VM source is based on Hotspot 11 Build 17.
I suspect the packagers have provided their own version numbering; how
they've chosen what number to use is unknown to me.
I can't remember which drop of the JDK 6 Update series was the basis for
OpenJDK-6. I _know_ it is at least Update 5, but I can't be certain
which. Also, there have considerable incremental updates included, so a
direct mapping of the OpenJDK6 to Sun JDK 6 Update projects isn't really
possible NOW.
As is being discussed here on this list, the synchronization of OpenJDK6
and the Sun JDK 6 Update trains is moving forward: that is, they shortly
_may_ be virtually identical, in that Sun is looking to move the 6
Update development out in the open, in the same way that the Sun JDK 7
vs. OpenJDK 7 development is done now.
Note that I _DO_NOT_ speak for Sun on this issue, and people should NOT
take what I just said as any commitment or statement of intent on Sun's
part. That information is forthcoming in various Official Statements.
I'm just the Hotspot VM Gatekeeper.
-Erik
On Mon, 2009-05-11 at 14:33 -0700, Keith Kowalczykowski wrote:
> Hi Everyone,
>
> I'm a little bit confused about the version numbering of openjdk 6 vs
> the current JDK provided by Sun. Looking at an install of openjdk from
> debian (lenny), it lists itself as:
>
> java version "1.6.0_0"
> OpenJDK Runtime Environment (build 1.6.0_0-b11)
>
> Now, if I'm reading this correctly, this is essentially "update 0" or the
> initial release of the jdk. Therefore, I have two questions:
>
> 1) Am I reading this correctly? In the sun jdk, the _X would be the update
> number, so I'm assuming this is update 0.
>
> 2) Assuming I'm reading this correctly, why aren't any of the updates in the
> open JDK?
>
> Thanks in advance for you help.
>
> -Keith
>
>
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)
More information about the jdk6-dev
mailing list