Date: Thu, 16 Apr 1998 16:24:59 -0600 From: Nate Williams <nate@mt.sri.com> To: John Birrell <jb@cimlogic.com.au> Cc: nate@mt.sri.com (Nate Williams), freebsd-java@FreeBSD.ORG Subject: Re: JDK version numbers Message-ID: <199804162224.QAA13691@mt.sri.com> In-Reply-To: <199804162024.GAA05530@cimlogic.com.au> References: <199804161518.JAA11588@mt.sri.com> <199804162024.GAA05530@cimlogic.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Nate Williams wrote:
> > Huh? What do you mean by that? The same classes are used in both JD1.2
> > and the JFC1.0.1 release.
>
> >From the SwingSet.java demo:
>
> String vers = System.getProperty("java.version");
> if (vers.compareTo("1.1.2") < 0) {
> System.out.println("!!!WARNING: Swing must be run with a " +
> "1.1.2 or higher version VM!!!");
> }
>
> This indicates (to me, at least 8-) how Sun expects the java.version
> property to be used. FWIW, this code does not print out a warning on
> FreeBSD, but that's because the strings aren't compatible.
Actually, as I understand the internals don't care. At least, it
doesn't using old IDE's that claim java.version being 1.1.2.
Nate
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804162224.QAA13691>
