From owner-freebsd-questions Sat Jan 26 10: 2:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10003.mail.yahoo.com (web10003.mail.yahoo.com [216.136.130.39]) by hub.freebsd.org (Postfix) with SMTP id A44CD37B400 for ; Sat, 26 Jan 2002 10:02:10 -0800 (PST) Message-ID: <20020126180210.73613.qmail@web10003.mail.yahoo.com> Received: from [68.15.191.99] by web10003.mail.yahoo.com via HTTP; Sat, 26 Jan 2002 10:02:10 PST Date: Sat, 26 Jan 2002 10:02:10 -0800 (PST) From: Tom Kersten Subject: FIXED: really easy java question To: 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 To Everyone who helped, Thanks...I have no idea why it is working now, but, it is. Thank you for your patience and tips along the way. Obviously it was a mistake on my part because I did not have to change any config. files. When I relogged in this morning everything worked fine. I had restarted last night...??? Hmm...I don't know, I must have done something stupid like not edited my PATH variable until after I restarted...that's is all I can come up with. I do have one quick question though...I was under the impression that if I edited my path variable and typed "rehash" it would re-initiate that variable. Because that didnt' seem to happen, I am assuming that the "rehash" command just re-initializes all files in the PATH variable that was defined at the last login. Is this correct?? Is there a way to re-intialize your PATH variable without having to re-login? Thanks again for your patience, Thomas --- "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)? > > -- 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