From owner-freebsd-questions Sat Jan 26 16: 3:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (Postfix) with ESMTP id E2F0F37B416 for ; Sat, 26 Jan 2002 16:03:07 -0800 (PST) Received: from cybertron.kruijff ([213.10.151.186]) by smtp03.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GQKLH500.G1H; Sun, 27 Jan 2002 01:03:05 +0100 Date: Sun, 27 Jan 2002 01:03:05 +0100 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: Alex X-Priority: 3 (Normal) Message-ID: <8547256571.20020127010305@cybertron.tmfweb.nl> To: Tom Kersten Cc: Aleksander Rozman - Andy , freebsd-questions@freebsd.org Subject: Re[2]: really easy java question.... In-Reply-To: <20020126172914.84527.qmail@web10004.mail.yahoo.com> References: <20020126172914.84527.qmail@web10004.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hello Tom, Saturday, January 26, 2002, 6:29:14 PM, you wrote: TK> --- Aleksander Rozman - Andy 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