From owner-freebsd-java Thu Dec 17 19:20:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02808 for freebsd-java-outgoing; Thu, 17 Dec 1998 19:11:55 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02780 for ; Thu, 17 Dec 1998 19:11:49 -0800 (PST) (envelope-from J_Shevland@TurnAround.com.au) Received: from simbarchi (dhcp110.turnaround.com.au [192.168.1.110] (may be forged)) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with SMTP id OAA07903; Fri, 18 Dec 1998 14:14:10 +1100 (EST) (envelope-from J_Shevland@TurnAround.com.au) Reply-To: From: "Joe Shevland" To: "Chuck Robey" , "Palle Girgensohn" Cc: Subject: RE: Where to put java libs Date: Fri, 18 Dec 1998 14:09:27 +1100 Message-ID: <001201be2a33$d2380d20$6e01a8c0@simbarchi.turnaround.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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