Date: Fri, 17 Apr 1998 06:24:12 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: nate@mt.sri.com (Nate Williams) Cc: jb@cimlogic.com.au, freebsd-java@FreeBSD.ORG Subject: Re: JDK version numbers Message-ID: <199804162024.GAA05530@cimlogic.com.au> In-Reply-To: <199804161518.JAA11588@mt.sri.com> from Nate Williams at "Apr 16, 98 09:18:23 am"
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.
--
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137
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?199804162024.GAA05530>
