What to do about java.version?
Per Bothner
per@bothner.com
Sun Feb 24 14:50:00 GMT 2002
Anthony Green wrote:
> I was just running jython and it starts up with...
>> Jython 2.1a3 on java0.0.7 (JIT: null)>
>> The 0.0.7 comes from the java.version property which we set in
> acinclude.m4.
Clearly just printing java.version is m eaningless and wrong.
They should probably print java.vm.name + ' ' + java.vm.version.
> I don't think this version number has changed in years. Perhaps we
> should be using some mangling of the gcj version number.
I'd say just use the gcc version - i.e. "3.0.4".
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Java
mailing list