From owner-freebsd-java Thu Apr 16 15:25:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26614 for freebsd-java-outgoing; Thu, 16 Apr 1998 15:25:12 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA26597 for ; Thu, 16 Apr 1998 22:25:07 GMT (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA24573; Thu, 16 Apr 1998 16:25:03 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA13691; Thu, 16 Apr 1998 16:24:59 -0600 Date: Thu, 16 Apr 1998 16:24:59 -0600 Message-Id: <199804162224.QAA13691@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: John Birrell Cc: nate@mt.sri.com (Nate Williams), freebsd-java@FreeBSD.ORG Subject: Re: JDK version numbers In-Reply-To: <199804162024.GAA05530@cimlogic.com.au> References: <199804161518.JAA11588@mt.sri.com> <199804162024.GAA05530@cimlogic.com.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid 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. 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