Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 14:15:38 +0000
From:      Rasputin <rasputin@submonkey.net>
To:        John Merryweather Cooper <john_m_cooper@yahoo.com>
Cc:        java@freebsd.org
Subject:   Re: Proposal for bsd.java.mk
Message-ID:  <20011210141538.A2711@shikima.mine.nu>
In-Reply-To: <20011210060318.A37088@johncoop.MSHOME>; from john_m_cooper@yahoo.com on Mon, Dec 10, 2001 at 06:03:18AM -0800
References:  <20011210113932.L99945-100000@puget.esil.univ-mrs.fr> <20011210060318.A37088@johncoop.MSHOME>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Merryweather Cooper <john_m_cooper@yahoo.com> [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




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