Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 1999 17:03:52 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        danny h <bsd_freebsd@hotmail.com>
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>
In-Reply-To: <19991124063433.46287.qmail@hotmail.com>
References:  <19991124063433.46287.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991124170352.A926>