Date: Mon, 29 Sep 2003 12:00:35 -0700 (PDT) From: Greg Lewis <glewis@eyesbeyond.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/56928 - jce-aba port should install to $JAVA_HOME/jre/lib/ext Message-ID: <200309291900.h8TJ0Z4x035416@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/56928; it has been noted by GNATS. From: Greg Lewis <glewis@eyesbeyond.com> To: Edwin Groothuis <edwin@freebsd.org> Cc: freebsd-ports-bugs@freebsd.org, freebsd-gnats-submit@freebsd.org, greg@greg.rim.or.jp Subject: Re: ports/56928 - jce-aba port should install to $JAVA_HOME/jre/lib/ext Date: Mon, 29 Sep 2003 12:56:22 -0600 On Mon, Sep 29, 2003 at 04:50:22AM -0700, Edwin Groothuis wrote: > Dear maintainer, > > Can you give your opinion about this PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/56928 I'm not the maintainer, but I'll give my opinion anyway :). ${JAVAJARDIR} (which is where the port currently installs the JAR file) is the official, blessed bsd.java.mk place for JARs. Installing in ${JAVA_HOME}/jre/lib/ext is wrong for a few reasons: 1. It only works for a single JDK/JRE. Given we have around a dozen of these now, this is bad. 2. This scheme doesn't handle different versions of the same package. The JVM will grab the first JAR it finds with the classes in it, whether these are the right version or not. 3. (Minor) The location suggested only accounts for JDKs, not JREs. This has been discussed multiple times on the freebsd-java mailing list and concluded to be the wrong way to do things each time. What would be helpful, would be for the port to output a message regarding how to add the installed JAR to one's class path. That would help newbie users of our ports Jave infrastructure. This could possibly be done in bsd.java.mk. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309291900.h8TJ0Z4x035416>