Gentoo Archives: gentoo-ppc-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] $PATH?
Date: Wed, 10 Aug 2005 13:25:51
Message-Id: 20050810142454.4bf6e1ac@hactar.digimed.co.uk
In Reply to: [gentoo-ppc-user] $PATH? by Mike S
1 On Wed, 10 Aug 2005 02:16:04 -0700, Mike S wrote:
2
3 > ok I am stumped as to where the $PATH is set. I know in OSX I just
4 > added a ~/.profile and every time I opened the terminal that would be
5 > read and I could export environmental variables there. however I tried
6 > that here, and the file didn't seem to do anything. I open a new
7 > terminal and the $PATH is still the same as before.
8
9 It should be set in one or more of the files in /etc/env.d.
10
11 > The reason I am trying this is because I just installed limewire, and
12 > the java in /opt/ibm-jre-bin-1.4.2 is not in my path. So when I open
13 > limewire it can't find the "java" command, which, again, is in
14 > /opt/ibm-jre-bin-1.4.2/bin.
15
16 The standard paths are set in /etc/env.d/00basic but the java ebuild
17 should have added a separate file for java settings,
18 usually /etc/env.d/20java. Mine contains
19
20 # Autogenerated by java-config
21 # Command: --set-system-vm=ibm-jdk-bin-1.4.2
22 JDK_HOME=/opt/ibm-jdk-bin-1.4.2
23 JAVAC=/opt/ibm-jdk-bin-1.4.2/bin/javac
24 PATH="/opt/ibm-jdk-bin-1.4.2/bin:/opt/ibm-jdk-bin-1.4.2/jre/bin"
25 ROOTPATH="/opt/ibm-jdk-bin-1.4.2/bin:/opt/ibm-jdk-bin-1.4.2/jre/bin"
26 LDPATH="/opt/ibm-jdk-bin-1.4.2/jre/bin/:/opt/ibm-jdk-bin-1.4.2/jre/bin/classic"
27 # VERSION="IBM JDK 1.4.2"
28 JAVA_HOME=/opt/ibm-jdk-bin-1.4.2
29
30 As you can see from the comment, maybe you should run java-config to set
31 up java correctly.
32
33
34 --
35 Neil Bothwick
36
37 Quantum Physics: The dreams that stuff is made of

Replies

Subject Author
Re: [gentoo-ppc-user] $PATH? Mike S <michael_six@×××××××××××××××××.net>