From owner-freebsd-java Mon Dec 10 6:13:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id B311A37B417 for ; Mon, 10 Dec 2001 06:13:35 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16DRDW-0000i0-00; Mon, 10 Dec 2001 14:15:38 +0000 Date: Mon, 10 Dec 2001 14:15:38 +0000 From: Rasputin To: John Merryweather Cooper Cc: java@freebsd.org Subject: Re: Proposal for bsd.java.mk Message-ID: <20011210141538.A2711@shikima.mine.nu> Reply-To: Rasputin References: <20011210113932.L99945-100000@puget.esil.univ-mrs.fr> <20011210060318.A37088@johncoop.MSHOME> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011210060318.A37088@johncoop.MSHOME>; from john_m_cooper@yahoo.com on Mon, Dec 10, 2001 at 06:03:18AM -0800 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 * John Merryweather Cooper [011210 14:10]: > > On 2001.12.10 02:49 Herve Quiroz wrote: > > Also I > > don't understand the meaning of the JAVA_LIB variable. Is this really > > needed by any port so far ? It would be needed if using any third > > party > > compiler such as jikes but in that case the user would have > > (hopefully) > > set the JIKESPATH. Anyway I think there should be an unified way to > > deal > > with JAVA_LIB/JIKESPATH etc so maybe the port being installed should > > handle this additional CLASSPATH. This way, installing any lib would > > also > > mean its jar would be added in the classpath automatically. > > > > For me, that's the object of JAVA_LIB. If I know the path to the core > Java libraries and the version of the JDK/JRE, I can deduce > ${JAVA_LIB}/classes.zip for 1.1.x and ${JAVA_LIB}/tools.jar for Java2. > Moreover, if it's Java2, I can sidestep a CLASSPATH extension by > sticking the new JAR file in the ext/ portion of the Java2 tree. Are you sure you want to do that kind of thing automatically? I'm thinking of a lot of RMI apps where clasees are expected to be loaded over the network automatically by JVMs - having them in your CLASSPATH for development is necessary, but can make testing confusing when you distribute them and wonder why they can't find classes.. Jini in particular is a pig for this. Not that I can think of a better way or anything... -- All syllogisms have three parts, therefore this is not a syllogism. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message