java -version output for JDK8
Omair Majid
omajid at redhat.com
Thu Jul 25 12:05:46 PDT 2013
Hi Kumar,
On 07/25/2013 02:00 PM, Kumar Srinivasan wrote:
> On 7/25/2013 10:10 AM, Omair Majid wrote:
>> Also, the lines after "java version" make OpenJDK explicit, no? Is this
>> second line not sufficient to distinguish OpenJDK vs closed builds?
>>
>> # java -version
>> java version "1.7.0_25"
>> OpenJDK Runtime Environment (fedora-2.3.10.3.fc19-ppc64) <--- this line
>> OpenJDK 64-Bit Zero VM (build 23.7-b01, interpreted mode)
>
> we needed to account for java -fullversion as well, which btw. is a one
> liner.
Perhaps it's worth borrowing the style from IBM [1]? They do this:
>java -fullversion
java full version "JRE 1.6.0 IBM Windows 32 build pwi3260-20071123_01"
>java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
pwi32devifx-20071025 (SR6b))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32
j9vmwi3223-20071007 (JIT enabled)
--------->8--------
They still keep "java" as the first word, but add additional information
(in the same line for -fullversion but in the next line for -version).
> It was decided the OpenJDK launcher name to be openjdk as well, there
> were discussions of course surounding this, but I can't remember.
Any pointers to those discussions?
Thanks,
Omair
[1]
http://publib.boulder.ibm.com/infocenter/javasdk/tools/index.jsp?topic=/com.ibm.java.doc.igaa/_1vg00011e17d8ea-1163a087e6c-7ffe_1001.html
--
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the jdk8-dev
mailing list