From owner-freebsd-java Thu Apr 16 13:25:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21790 for freebsd-java-outgoing; Thu, 16 Apr 1998 13:25:14 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from cimlogic.com.au (cimlogic.com.au [203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA21757 for ; Thu, 16 Apr 1998 20:25:10 GMT (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id GAA05530; Fri, 17 Apr 1998 06:24:12 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199804162024.GAA05530@cimlogic.com.au> Subject: Re: JDK version numbers In-Reply-To: <199804161518.JAA11588@mt.sri.com> from Nate Williams at "Apr 16, 98 09:18:23 am" To: nate@mt.sri.com (Nate Williams) Date: Fri, 17 Apr 1998 06:24:12 +1000 (EST) Cc: jb@cimlogic.com.au, freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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