From owner-freebsd-questions Wed Nov 24 9:14:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 18A5414BC4 for ; Wed, 24 Nov 1999 09:14:11 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.0.4] ident=ben) by scientia.demon.co.uk with smtp (Exim 3.092 #1) id 11qfpg-0009Zf-00; Wed, 24 Nov 1999 17:03:52 +0000 Date: Wed, 24 Nov 1999 17:03:52 +0000 From: Ben Smithurst To: danny h Cc: evstiounin@adelphia.net, MarcW@Lanfear.com, tim@ns2.megainfo.com, Harry.Woodward-Clarke@s1.com, freebsd-questions@freebsd.org Subject: Re: JDK Problem --help Message-ID: <19991124170352.A926@strontium.scientia.demon.co.uk> References: <19991124063433.46287.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991124063433.46287.qmail@hotmail.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG danny h wrote: > -Need Jdk > -Have Freebsd 227 > > Currently Jdk is located > > /usr/local/jdk1.1.7/bin > > I am using the shell > > Shell: /bin/sh > > Question:- > > How do I modify .shrc so I can type "javac whatever.java" instead of > "/usr/local/jdk1.1.7/bin/javac whatever.java". Add /usr/local/jdk1.1.7/bin to your PATH, by putting a line like this at the end of your .shrc or similar: PATH=$PATH:/usr/local/jdk1.1.7/bin -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message