Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 1999 10:16:03 +0100
From:      Jeroen Ruigrok van der Werven <asmodai@bart.nl>
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:  <19991124101603.C58890@lucifer.bart.nl>
In-Reply-To: <19991124063433.46287.qmail@hotmail.com>; from bsd_freebsd@hotmail.com on Wed, Nov 24, 1999 at 06:34:33AM %2B0000
References:  <19991124063433.46287.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [19991124 07:40], danny h (bsd_freebsd@hotmail.com) wrote:
>How do I modify .shrc so I can type "javac whatever.java" instead of
>"/usr/local/jdk1.1.7/bin/javac whatever.java".

vi .profile

add

:/usr/local/jdk1.1.7/bin to PATH

so you get something like:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:
:/usr/local/jdk1.1.7/bin:$HOME/bin; export PATH

HTH,

-- 
Jeroen Ruigrok van der Werven          Network- and systemadministrator
<asmodai@bart.nl>                      bART Internet Services /
Tel: +31 - (0) 10 - 240 39 70          VIA NET.WORKS Netherlands


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?19991124101603.C58890>