From owner-freebsd-questions Wed Nov 24 1:17:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lucifer.bart.nl (lucifer.bart.nl [194.158.168.74]) by hub.freebsd.org (Postfix) with ESMTP id 3412B14FDC for ; Wed, 24 Nov 1999 01:17:27 -0800 (PST) (envelope-from asmodai@lucifer.bart.nl) Received: (from asmodai@localhost) by lucifer.bart.nl (8.9.3/8.9.3) id KAA66772; Wed, 24 Nov 1999 10:16:03 +0100 (CET) (envelope-from asmodai) Date: Wed, 24 Nov 1999 10:16:03 +0100 From: Jeroen Ruigrok van der Werven 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: <19991124101603.C58890@lucifer.bart.nl> 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>; from bsd_freebsd@hotmail.com on Wed, Nov 24, 1999 at 06:34:33AM +0000 Organisation: bART Internet Services B.V. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -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 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