From owner-freebsd-java Fri May 25 14:33:36 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 89A5B37B422 for ; Fri, 25 May 2001 14:33:33 -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 153PD9-0000MH-00; Fri, 25 May 2001 15:33:32 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f4PLXTs18918; Sat, 26 May 2001 07:03:29 +0930 (CST) (envelope-from glewis) Date: Sat, 26 May 2001 07:03:28 +0930 From: Greg Lewis To: Ernst de Haan Cc: java@freebsd.org Subject: Re: Java port behavior ideas Message-ID: <20010526070328.A18869@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: > Agreed. While on the subject I would like to bring in the discussion of the > JDK and JRE port efforts as well. At this moment, we have a port named > linux-jdk (package `linux-jdk1.2.2') which installs the Blackdown JDK 1.2.2 > for Linux. However, the linux-jdk13 port (package `linux-jdk1.3.x') installs > the Sun JDK 1.3.x. There is a Blackdown JDK 1.3.x for Linux too, but where > does it fit in this limited naming scheme? > > My suggestion: > > Current port name New port name > ----------------- ------------- > linux-jdk linux-blackdown-jdk12 > linux-jdk13 linux-sun-jdk13 > linux-jdk14 linux-sun-jdk14 This is good. Presumably the IBM JDKs fit in as linux-ibm-jdk##. > And perhaps even: > > jdk jdk11 > jdk12-beta jdk12 If this is what happens, why not make the move to sun-jdk11 and sun-jdk12 respectively. If IBM ever decide to do a FreeBSD port of their JDK then we're ready for it :). It also seems to fit in consistently with the naming scheme for the Linux versions. A couple of questions though: 1. What if we want to add the Sun Linux JDK 1.3.1 but still keep the Sun Linux JDK 1.3.0_02 port (due to 1.3.1 having some bugs which are fixed in 1.3.0_02). How does this fit into the scheme? 2. Do we want a way of differentiating between JDKs which are built from source and JDKs we have a binary of? > > 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.... > > I'm not saying it's not a good idea, I'm just wondering how we'll handle > versioning and name conflicts. Hmmm, I must admit I hadn't thought through all the details, I was just throwing out an idea at that point. Its certainly something (linking into jre/lib/ext) which has reduced my pain level with development. Clearly there are some rough edges though. 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