Date: Sun, 27 Jan 2002 01:03:05 +0100 From: Alex <FreeBSD@cybertron.tmfweb.nl> To: Tom Kersten <tomkersten98@yahoo.com> Cc: Aleksander Rozman - Andy <andy@kksonline.com>, freebsd-questions@freebsd.org Subject: Re[2]: really easy java question.... Message-ID: <8547256571.20020127010305@cybertron.tmfweb.nl> In-Reply-To: <20020126172914.84527.qmail@web10004.mail.yahoo.com> References: <20020126172914.84527.qmail@web10004.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Tom, Saturday, January 26, 2002, 6:29:14 PM, you wrote: TK> --- Aleksander Rozman - Andy <andy@kksonline.com> TK> wrote: >> At 26.1.2002, you wrote: >> >Hello all, >> > >> >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??? >> > >> > >> >Thomas >> >> Easy question, easy answer. >> 1. Install JDK from Linux (you must have Linux >> support activated) >> 2. Set path to Linux JDK >> 3. Install >> TK> I think I have done all of this. As I said, I have TK> installed linux-jdk1.3.1. It installed fine. Linux TK> support is activated. I added the absolute path to my TK> path variable in .cshrc and typed "rehash" and TK> restarted. The commands "javac" and "java" still do TK> not work unless I type the complete pathname TK> (eg.-/usr/local/linux-jdk1.3.1/bin/javac) + filename TK> ....then it works fine. But, I do not want to have to TK> do that every time I compile a java program. Any idea TK> what is going wrong? TK> Thomas Does it respond at all when you just type 'java'? Or does it just say File not foud? If the later is the case, then it isn't a Java problem. So it most likly that the path isn't correctly set, evendue you think it is. As a work arround, did you try putting up a alias to the files? -- Best regards, Alex 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?8547256571.20020127010305>