On Wed, 10 Aug 2005 02:16:04 -0700, Mike S wrote:

> ok I am stumped as to where the $PATH is set.  I know in OSX I just 
> added a ~/.profile and every time I opened the terminal that would be 
> read and I could export environmental variables there.  however I tried 
> that here, and the file didn't seem to do anything.  I open a new 
> terminal and the $PATH is still the same as before.

It should be set in one or more of the files in /etc/env.d.

> The reason I am trying this is because I just installed limewire, and 
> the java in /opt/ibm-jre-bin-1.4.2 is not in my path.  So when I open 
> limewire it can't find the "java" command, which, again, is in 
> /opt/ibm-jre-bin-1.4.2/bin.

The standard paths are set in /etc/env.d/00basic but the java ebuild
should have added a separate file for java settings,
usually /etc/env.d/20java. Mine contains

# Autogenerated by java-config
# Command: --set-system-vm=ibm-jdk-bin-1.4.2
JDK_HOME=/opt/ibm-jdk-bin-1.4.2
JAVAC=/opt/ibm-jdk-bin-1.4.2/bin/javac
PATH="/opt/ibm-jdk-bin-1.4.2/bin:/opt/ibm-jdk-bin-1.4.2/jre/bin"
ROOTPATH="/opt/ibm-jdk-bin-1.4.2/bin:/opt/ibm-jdk-bin-1.4.2/jre/bin"
LDPATH="/opt/ibm-jdk-bin-1.4.2/jre/bin/:/opt/ibm-jdk-bin-1.4.2/jre/bin/classic"
# VERSION="IBM JDK 1.4.2"
JAVA_HOME=/opt/ibm-jdk-bin-1.4.2

As you can see from the comment, maybe you should run java-config to set
up java correctly.


-- 
Neil Bothwick

Quantum Physics: The dreams that stuff is made of

Attachment: pgp60NLK3GF5k.pgp
Description: PGP signature

Reply via email to