Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 1998 09:18:23 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: JDK version numbers
Message-ID:  <199804161518.JAA11588@mt.sri.com>
In-Reply-To: <199804160006.KAA00867@cimlogic.com.au>
References:  <199804160006.KAA00867@cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804161518.JAA11588>