How to set build version

Medi Montaseri medi.montaseri at
Fri Aug 22 01:13:39 UTC 2014

Trying build-dev at

I think the jtreg-dev was a wrong DL to begin with.

From: Medi Montaseri
Sent: Thursday, August 21, 2014 3:03 PM
To: jtreg-dev at
Subject: How to set build version


I currently get the following version info when I build my JDK

java -version
openjdk version "1.8.0-20140820"
OpenJDK Runtime Environment (build 1.8.0-20140820-mmontaseri_2014_08_20_18_26-b00)
OpenJDK 64-Bit Server VM (build 25.0-b69, mixed mode)

Note the "mmontaseri" in the build-id, this token "mmontaseri" is the value of $USER who build it.
>From jdk8src/common/autoconf/ , I deduced that this can be changed via USER_RELEASE_SUFFIX which on the configure line, one would say

./configure --with-user-release-suffix=HDS --with-build-number=nnnn

After doing so, I see the following in the spec.gmk file

egrep -e 'USER_RELEASE_SUFFIX|COOKED_BUILD_NUMBER' jdk8src/build/linux-x86_64-normal-server-release/spec.gmk

But the output of "java -version" still shows
OpenJDK Runtime Environment (build 1.8.0-20140820-mmontaseri_2014_08_20_18_26-b00)

Am I not going about this the right way? Is there another param that I need to set at configure


More information about the build-dev mailing list