This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: What to do about java.version?
- From: Per Bothner <per at bothner dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sun, 24 Feb 2002 12:37:56 -0800
- Subject: Re: What to do about java.version?
- References: <1014581911.2395.130.camel@dhcppc2>
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/