Skip site navigation (1)Skip section navigation (2)
Date:      02 Oct 2002 14:03:48 -0400
From:      Matt Smith <matt@forsetti.com>
To:        MET <met@uberstats.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: JDK13
Message-ID:  <1033581828.4785.9.camel@localhost>
In-Reply-To: <000101c26a39$4482ad10$0200a8c0@SURVIVAL>
References:  <000101c26a39$4482ad10$0200a8c0@SURVIVAL>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1033581828.4785.9.camel>