From owner-freebsd-java Thu Apr 16 08:18:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA22876 for freebsd-java-outgoing; Thu, 16 Apr 1998 08:18:30 -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 IAA22868 for ; Thu, 16 Apr 1998 08:18:25 -0700 (PDT) (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 JAA21622; Thu, 16 Apr 1998 09:18:24 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA11588; Thu, 16 Apr 1998 09:18:23 -0600 Date: Thu, 16 Apr 1998 09:18:23 -0600 Message-Id: <199804161518.JAA11588@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: freebsd-java@FreeBSD.ORG Subject: Re: JDK version numbers In-Reply-To: <199804160006.KAA00867@cimlogic.com.au> References: <199804160006.KAA00867@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 > Has anyone had difficulty handling JDK version numbers like: No, not at all. :) > "jdk1.1.5-FreeBSD:1998/02/08" > > I realise that this accurately identifies the jdk we're using, > but it makes it pretty difficult to check for "1.1.2" or later > (like JFC expects you to do). Huh? What do you mean by that? The same classes are used in both JD1.2 and the JFC1.0.1 release. > If the date is necessary, I'd prefer to see it added to java.vendor: > > "Sun Microsystems Inc., port by java-port@mt.sri.com 1998/02/08" > > and leave java.version: > > "1.1.5" The problem with this is people have to write a Java program to see which version of the program they are using. FWIW, all of the 3rd party vendors such as Linux and others do the same thing. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message