Date: Fri, 18 Dec 1998 14:09:27 +1100 From: "Joe Shevland" <J_Shevland@TurnAround.com.au> To: "Chuck Robey" <chuckr@mat.net>, "Palle Girgensohn" <girgen@partitur.se> Cc: <freebsd-java@FreeBSD.ORG> Subject: RE: Where to put java libs Message-ID: <001201be2a33$d2380d20$6e01a8c0@simbarchi.turnaround.com.au> In-Reply-To: <Pine.BSF.4.05.9812172120140.348-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I don't think there's any standard at the moment pre 1.2. I tend to stuff them all in to the JDK directory, say /u1/jdk1.1.6/lib, and then add them to my CLASSPATH individually. This obviously isn't very good though. How about standardizing on a /usr/local/lib/java? Or is this breaking a rule? Then scripts designed to run the app can know to look for this path for JAR files etc. The reason I often put them into the JDK directory is because I know where the lib directory will be relative to the 'java' executable, so I can reference it like `which java`/../lib/foo.jar. ---------------------|============================= Joe Shevland | TurnAround Solutions Principal Consultant | Hobart, Australia No unsolicited email | Voice (03) 6224 9146 | http://www.TurnAround.com.au ---------------------|============================= > -----Original Message----- > From: owner-freebsd-java@FreeBSD.ORG > [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Chuck Robey > Sent: Friday, December 18, 1998 1:22 PM > To: Palle Girgensohn > Cc: freebsd-java@FreeBSD.ORG > Subject: Re: Where to put java libs > > > On Fri, 18 Dec 1998, Palle Girgensohn wrote: > > > Hi! > > > > I have a question: When porting java applications, where would > > .jar-files and other ported java stuff go? man hier(7) won't really help > > me here... > > > > Would PREFIX/java/lib be OK, or should each port have their own dir like > > PREFIX/share/appname, with a lib directory in there? > > > > Most java stuff I find on the installs into /usr/local/appname by > > default, and this is really not FreeBSD-ish, hence the question. > > > > What do you think? > > You're asking on the wrong list ... go to FreeBSD-Java. It's an > interesting question, because (in my opinion) the system for finding > java apps isn't the very best under jdk version <1.2, but it's changed > for 1.2, BUT we don't have 1.2 yet. > > I'm reposting this for you onto the right list. > > > > > /Palle > > ----------------------------+------------------------------------- > ---------- > Chuck Robey | Interests include any kind of voice or data > chuckr@glue.umd.edu | communications topic, C > programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) > (301) 220-2114 | and jaunt (NetBSD). > ----------------------------+------------------------------------- > ---------- > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > 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?001201be2a33$d2380d20$6e01a8c0>