From owner-freebsd-questions Sat Jan 26 9:36:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10001.mail.yahoo.com (web10001.mail.yahoo.com [216.136.130.37]) by hub.freebsd.org (Postfix) with SMTP id 22F8C37B404 for ; Sat, 26 Jan 2002 09:36:41 -0800 (PST) Message-ID: <20020126173640.35294.qmail@web10001.mail.yahoo.com> Received: from [68.15.191.99] by web10001.mail.yahoo.com via HTTP; Sat, 26 Jan 2002 09:36:40 PST Date: Sat, 26 Jan 2002 09:36:40 -0800 (PST) From: Tom Kersten Subject: Re: really easy java question.... To: "F.Xavier Noria" , freebsd-questions@freebsd.org In-Reply-To: <20020126100411.0522c546.fxn@retemail.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- "F.Xavier Noria" wrote: > On Fri, 25 Jan 2002 21:19:04 -0800 (PST) > Tom Kersten wrote: > > : I have installed linux-jdk-1.3.1 from on FreeBSD > 4.4 > : from the ports. When I try to type "java" or > "javac" > : it doesn't find the commmand...I can type the > complete > : path (/usr/local/jdxxxx/bin/javac ...or ../java) > and > : it works. I have added /usr/local/linux-jdkxxx/bin > to > : my path in my .cshrc file but still no > luck...what's > : the deal??? > > Perhaps it has to do with shell's own hash? Once > echo $PATH confirms > that the directory is actually in $PATH, does csh > find the executables > after running rehash(1)? Yes, running "rehash" usually seems to work for me...at least with running other programs after an installation. Here is the echo command you mentioned: thomas# echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/linux-jdk1.3.1/bin/:/usr/X11R6/bin:/home/thomas/bin as you can see...it is showing up..and the commands "java" and "javac" are pointing to .java_wrapper in the /usr/local/linux-jdk1.3.1/bin/ directory. All three (java, javac, java_wrapper) are executable by everyone also. I am not sure what is going on...any ideas? Thomas > > -- fxn > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of > the message __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message