Confirming JDK 8 GA version

Medi Montaseri medi.montaseri at hds.com
Wed Dec 3 20:54:07 UTC 2014


Thanks David and Erik,

A bit more confused...I don't know what hotspot is.

I am aware of configure --with-build-number and --with-milestone and indeed use them....and that is why I get

bin/java -version
openjdk version "1.8.0-20141202"            // note how this version is stamped with a date
OpenJDK Runtime Environment (build 1.8.0-20141202-HDS-174701)         // note how this portion is also decorated with date, label and more numbers
OpenJDK 64-Bit Server VM (build 25.0-b70, mixed mode)
                                                        ^^^^      /// what is this b70

The b70 makes me think that I am not working with the tip 

Let me ask the question another way...

If I pull the latest and "hg tags" says b132 as in 

>>     unix> cd srcDir/jdk ; hg tags | head -2
>>    tip                             9107:687fd7c7986d
>>    jdk8-b132                   9106:43cb25339b55
>>

Can I then be sure that I am indeed working with the tip...?

David...you see how yours is showing the b132 

> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)       // look there is the b132 thing  -b132
> Java HotSpot(TM) Server VM (build 25.0-b70, mixed mode)
>

Again, I need to make sure I have the latest and be able to query some binary (java or javac) to show that it is the latest.

Thanks
Medi

________________________________________
From: Erik Joelsson [erik.joelsson at oracle.com]
Sent: Wednesday, December 03, 2014 12:33 AM
To: David Holmes; Medi Montaseri; build-dev at openjdk.java.net
Subject: Re: Confirming JDK 8 GA version

The source/makefiles are not aware of the build number. It's assigned
from an external source at the time of building a promoted build. If you
want your version number to better match 8 GA, you will have to play
around with the configure arguments --with-build-number and possibly
--with-milestone.

Also, as David pointed out, in JDK 8, hotspot has it's own numbering.

/Erik

On 2014-12-03 06:13, David Holmes wrote:
> On 3/12/2014 12:25 PM, Medi Montaseri wrote:
>> Hi,
>>
>> Just wanted to confirm some issues:
>> I am interested in building the latest (tip) of jdk8 GA release.
>>
>> 1- jdk8 GA is different from jdk8u (u is for updates), I should get
>> the src from http://hg.openjdk.java.net/jdk8/jdk8
>> 2- The latest tagged version of the src is
>> "jdk8-b132                       9106:43cb25339b55"
>> 3- I confirm that I have the latest src (for GA) by running "hg tags"
>> like
>>     unix> cd srcDir/jdk ; hg tags | head -2
>>    tip                             9107:687fd7c7986d
>>    jdk8-b132                   9106:43cb25339b55
>>
>> I go ahead and build everything and then run "java -version" and I see
>>
>> openjdk version "1.8.0-20141202"
>> OpenJDK Runtime Environment (build 1.8.0-20141202-HDS-174701)
>> OpenJDK 64-Bit Server VM (build 25.0-b70, mixed mode)
>>
>> Q- Why am I seeing "build 25.0-b70" ? Does this "b70" has anything to
>> do with above "jdk8-b132" ?
>
> That is the hotspot version number and build number as used in the GA
> build of JDK 8. It is correct.
>
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) Server VM (build 25.0-b70, mixed mode)
>
> David
> -----
>
>> Thanks
>> Medi
>>




More information about the build-dev mailing list