From owner-freebsd-java Fri May 25 14:51: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 2D8DF37B423 for ; Fri, 25 May 2001 14:50:59 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.151] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.12 #1) id 153PTv-00064h-00; Fri, 25 May 2001 15:50:53 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f4PLonH19028; Sat, 26 May 2001 07:20:49 +0930 (CST) (envelope-from glewis) Date: Sat, 26 May 2001 07:20:49 +0930 From: Greg Lewis To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Java port behavior ideas Message-ID: <20010526072048.A18985@misty.eyesbeyond.com> References: <3B0C3A63.3020908@quack.kfu.com> <200105241911.f4OJBtS32613@mail.uic-in.net> <20010526045110.A18502@misty.eyesbeyond.com> <20010525215138.A55928@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010525215138.A55928@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Fri, May 25, 2001 at 09:51:38PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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