From owner-freebsd-questions Sat Jan 26 9:29:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10004.mail.yahoo.com (web10004.mail.yahoo.com [216.136.130.40]) by hub.freebsd.org (Postfix) with SMTP id 77BCF37B402 for ; Sat, 26 Jan 2002 09:29:14 -0800 (PST) Message-ID: <20020126172914.84527.qmail@web10004.mail.yahoo.com> Received: from [68.15.191.99] by web10004.mail.yahoo.com via HTTP; Sat, 26 Jan 2002 09:29:14 PST Date: Sat, 26 Jan 2002 09:29:14 -0800 (PST) From: Tom Kersten Subject: Re: really easy java question.... To: Aleksander Rozman - Andy , freebsd-questions@freebsd.org In-Reply-To: <5.0.2.1.0.20020126122416.028e2000@213.161.0.10> 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 --- Aleksander Rozman - Andy 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 > I think I have done all of this. As I said, I have installed linux-jdk1.3.1. It installed fine. Linux support is activated. I added the absolute path to my path variable in .cshrc and typed "rehash" and restarted. The commands "javac" and "java" still do not work unless I type the complete pathname (eg.-/usr/local/linux-jdk1.3.1/bin/javac) + filename ....then it works fine. But, I do not want to have to do that every time I compile a java program. Any idea what is going wrong? Thomas > If you have problems you will probably need to > compile everything by hand > (by reading instructions provided with patch file). > > Andy > > >__________________________________________________ > >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 > > ************************************************************************** > * Aleksander Rozman - Andy * Fandoms: E2:EA, > SAABer, Trekkie, Earthie * > * andy@kksonline.com * Sentinel, BH 90210, > True's Trooper, * > * andy@atechnet.dhs.org * Heller's Angel, > Questie, Legacy, PO5, * > * Maribor, Slovenia (Europe) * Profiler, Buffy > (Slayerete), Pretender * > * ICQ-UIC: 4911125 > ********************************************* > * PGP key available * > http://www.atechnet.dhs.org/~andy/ * > ************************************************************************** > __________________________________________________ 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