Date: Sat, 26 Jan 2002 09:36:40 -0800 (PST) From: Tom Kersten <tomkersten98@yahoo.com> To: "F.Xavier Noria" <fxn@retemail.es>, freebsd-questions@freebsd.org Subject: Re: really easy java question.... Message-ID: <20020126173640.35294.qmail@web10001.mail.yahoo.com> In-Reply-To: <20020126100411.0522c546.fxn@retemail.es>
next in thread | previous in thread | raw e-mail | index | archive | help
--- "F.Xavier Noria" <fxn@retemail.es> wrote: > On Fri, 25 Jan 2002 21:19:04 -0800 (PST) > Tom Kersten <tomkersten98@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020126173640.35294.qmail>