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:[EMAIL PROTECTED]] 
> Sent: Wednesday, October 02, 2002 1:19 PM
> To: MET
> Cc: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to