Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2001 07:20:49 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Ernst de Haan <ernst@jollem.com>
Cc:        java@FreeBSD.ORG
Subject:   Re: Java port behavior ideas
Message-ID:  <20010526072048.A18985@misty.eyesbeyond.com>
In-Reply-To: <20010525215138.A55928@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Fri, May 25, 2001 at 09:51:38PM %2B0200
References:  <3B0C3A63.3020908@quack.kfu.com> <200105241911.f4OJBtS32613@mail.uic-in.net> <20010526045110.A18502@misty.eyesbeyond.com> <20010525215138.A55928@c187104187.telekabel.chello.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 25, 2001 at 09:51:38PM +0200, Ernst de Haan wrote:
> > For jar files which fall into the second category, it might be useful
> > to have a common directory which contains symbolic links to all of
> > the files.  This directory could then be linked to jre/lib/ext for all 
> > JDKs > 1.2 so that you didn't need a hideously big CLASSPATH.
> 
> Uhm, what about multiple versions of the same library? For example, a lot of
> software comes with a xalan.jar file. And they all use just that specific
> version x.y.z that doesn't work with x.y.w....

Thinking more about this.  If we assume that a command line -classpath or
the CLASSPATH environment variable is searched before the standard
locations, then my suggestion doesn't introduce any complexities which
don't already exist.  In this scheme, the xalan port would bung its jar
into jre/lib/ext.  Software which wants a private copy presumably has
a shell script to run it which includes setting CLASSPATH appropriately
(if it doesn't then there are already problems).  Similarly, if you want 
to develop with another version then set your CLASSPATH appropriately.

Naturally, I need to verify my assumption before my argument holds true :)

				regards, Greg
-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Mobile: 0419 868 494
Information Technology                Web   : http://www.eyesbeyond.com


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?20010526072048.A18985>