From owner-freebsd-questions Thu Jun 7 9:45:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id C356A37B401 for ; Thu, 7 Jun 2001 09:45:42 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (ip46.buffalo11.ny.pub-ip.psi.net [38.26.224.46]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id JAA23618; Thu, 7 Jun 2001 09:45:40 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id MAA01376; Thu, 7 Jun 2001 12:44:42 -0400 (EDT) (envelope-from ipt) From: "Ian P. Thomas" Message-Id: <200106071644.MAA01376@scarlet.my.domain> Subject: Re: set up PATH?? In-Reply-To: <991884111.3b1ef34fa671e@my.usask.ca> from "kek971@mail.usask.ca" at "Jun 6, 2001 09:21:51 pm" To: kek971@mail.usask.ca Date: Thu, 7 Jun 2001 12:44:41 -0400 (EDT) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 jdk1.2.2 is out for bsd. It is in the ports. You have to download a few dependencies though, namely the linux jdk and linux emu stuff. As for setting your path, for csh I use set path = (~/bin /{bin,sbin} /usr/{bin,sbin} /usr/local/{bin,sbin}) Add the java part to this or use set path = ($path /path/to/java/bin) after the above line. For bash I think you need to do export path. I'm not positive though, because I use tcsh. Ian In the last episode, kek971@mail.usask.ca stated... [Charset iso-8859-1 unsupported, filtering to ASCII...] > 1. Can we use jdk1.2.2 on freebsd now? or still we have to go with jdk1.1.8? > > 2. How can i set up PATH on bash and csh? > 'cause after installing jdk1.1.8, I couldn't bring up javac in jdk1.1.8/bin directory without mentioning whole path > "/usr/local/jdk1.1.8/bin" > > Actually I tried like this : > In .profile(or .bash_profile), I put some lines after PATH (bash) > PATH=/sbin:/bin......./usr/local/jdk1.1.8/bin > > > Thanks in advance > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message