From owner-freebsd-questions Wed Oct 2 11: 4:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BC8137B406 for ; Wed, 2 Oct 2002 11:04:13 -0700 (PDT) Received: from mail1.uits.uconn.edu (mail1.uits.uconn.edu [137.99.25.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0DE43EA3 for ; Wed, 2 Oct 2002 11:04:09 -0700 (PDT) (envelope-from matt@forsetti.com) Received: from d80h149.public.uconn.edu (d80h149.public.uconn.edu [137.99.80.149]) by mail1.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id g92I3nT14043; Wed, 2 Oct 2002 14:03:49 -0400 Subject: RE: JDK13 From: Matt Smith To: MET Cc: freebsd-questions@freebsd.org In-Reply-To: <000101c26a39$4482ad10$0200a8c0@SURVIVAL> References: <000101c26a39$4482ad10$0200a8c0@SURVIVAL> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 02 Oct 2002 14:03:48 -0400 Message-Id: <1033581828.4785.9.camel@localhost> Mime-Version: 1.0 X-MailScanner: Found to be clean 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 either add /usr/local/jdk1.3.1/bin/ to your PATH, or simply make soft-links (or hard links, at your preference): ln -s /usr/local/jdk1.3.1/bin/java /usr/local/bin/java HOWEVER, I believe (from my minimal Java experience) that the Java utilities will look for CLASS_PATHs and other java "Stuff" relative to location of java binaries. Executing via link from another location (like /usr/local/bin) may cause issues. But again, my Java experience is minimal, and I may be waaay off. Perhaps someone on this list can clarify? -Matt On Wed, 2002-10-02 at 13:29, MET wrote: > Is there any way that I could make java and javac global commands like > other programs? So that way I can be in any folder and type java and > have it execute the file through the VM? > > ~ Matthew > > P.S. I'm picky but thanks a lot > > -----Original Message----- > From: Matt Smith [mailto:matt@forsetti.com] > Sent: Wednesday, October 02, 2002 1:19 PM > To: MET > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: JDK13 > > > try: > > /usr/local/jdk1.3.1/bin/java > > and > > /usr/local/jdk1.3.1/bin/javac > > -Matt > On Wed, 2002-10-02 at 13:15, MET wrote: > > So I installed the JDK13 and would like to start coding. However, > > java and javac commands seem to do nothing. Do I have to make them > > alias's to the programs (didn't actually check if they're installed) > > or something else? > > > > Ideas? > > > > ~ Matthew > > > > > > 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