[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging jars vs. classes



Juergen Kreileder <jk@blackdown.de> writes:

> Our Java 2 packages use a extension directory /usr/lib/j2re1.3/ext (and
> /usr/lib/j2re1.3/$(ARCH)/lib).  The packages for Java3D, JAI and JMF
> install into those directories.
> 
> Additionally we add /usr/share/java/repository to CLASSPATH but in
> general I would prefer a strictly extension directory based approach.
> It would be quite easy to add a support for a second extension
> directory.

You could make /usr/lib/j2re1.3/ext and /usr/lib/j2re1.3/$(ARCH)/lib
be symlinks to /usr/share/java and /usr/lib/java respectively (or
whatever becomes the policy).  It is seems better to have a single
extensions directory (pair), rather than two.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/



Reply to: