Whoops...I noticed a mistake I made in the symlink example I gave. It should 
be

ln -s /usr/lib/jre-1.4.0_01/bin/java  /usr/bin/java

derek


On Friday 27 Sep 2002 11:30 pm, Stefano Pogliani wrote:
> I created a file called java.sh in /etc/profile.d/ which contains the
> following lines:
>
> JAVA_HOME=/usr/java/j2sdk1.4.0_01
> export JAVA_HOME
> PATH=$JAVA_HOME/bin:$PATH
> export PATH
>
> /stefano
>
> Derek Jennings wrote:
> >Two ways, either edit your ~/.bash_profile (for an individual user), or
> > your /etc/profile (for system wide) to include the path to the java
> > executable in your PATH statement
> >
> >for example
> >PATH=$PATH:$HOME/bin:/usr/lib/jre-1.4.0_01/bin
> >
> >Next time you open a shell the path will be found.
> >
> >
> >The other way is to create a symlink in your /usr/bin directory like this
> >ln -s /usr/lib/jre-1.4.0_01/bin /usr/bin/java
> >
> >HTH
> >
> >derek
> >
> >
> >
> >On Fri, 27 Sep 2002 10:48:07 -0400
> >
> >John Bodden <[EMAIL PROTECTED]> wrote:
> >>I am trying to install LimeWire. Where to I configure the path
> >>variable. LimeWire is telling me that I do not have a Java VM in my
> >>path, evn though I have the J2re installed
> >
> >------------------------------------------------------------------------
> >
> >Want to buy your Pack or Services from MandrakeSoft?
> >Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to