Gentoo Archives: gentoo-ppc-user

From: Mike S <michael_six@×××××××××××××××××.net>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] $PATH?
Date: Thu, 11 Aug 2005 01:39:01
Message-Id: 42FAAB83.7000009@users.sourceforge.net
In Reply to: Re: [gentoo-ppc-user] $PATH? by Neil Bothwick
1 Neil Bothwick wrote:
2
3 >On Wed, 10 Aug 2005 02:16:04 -0700, Mike S wrote:
4 >
5 >
6 >
7 >>ok I am stumped as to where the $PATH is set. I know in OSX I just
8 >>added a ~/.profile and every time I opened the terminal that would be
9 >>read and I could export environmental variables there. however I tried
10 >>that here, and the file didn't seem to do anything. I open a new
11 >>terminal and the $PATH is still the same as before.
12 >>
13 >>
14 >
15 >It should be set in one or more of the files in /etc/env.d.
16 >
17 >
18 >
19 >>The reason I am trying this is because I just installed limewire, and
20 >>the java in /opt/ibm-jre-bin-1.4.2 is not in my path. So when I open
21 >>limewire it can't find the "java" command, which, again, is in
22 >>/opt/ibm-jre-bin-1.4.2/bin.
23 >>
24 >>
25 >
26 >The standard paths are set in /etc/env.d/00basic but the java ebuild
27 >should have added a separate file for java settings,
28 >usually /etc/env.d/20java. Mine contains
29 >
30 ># Autogenerated by java-config
31 ># Command: --set-system-vm=ibm-jdk-bin-1.4.2
32 >JDK_HOME=/opt/ibm-jdk-bin-1.4.2
33 >JAVAC=/opt/ibm-jdk-bin-1.4.2/bin/javac
34 >PATH="/opt/ibm-jdk-bin-1.4.2/bin:/opt/ibm-jdk-bin-1.4.2/jre/bin"
35 >ROOTPATH="/opt/ibm-jdk-bin-1.4.2/bin:/opt/ibm-jdk-bin-1.4.2/jre/bin"
36 >LDPATH="/opt/ibm-jdk-bin-1.4.2/jre/bin/:/opt/ibm-jdk-bin-1.4.2/jre/bin/classic"
37 ># VERSION="IBM JDK 1.4.2"
38 >JAVA_HOME=/opt/ibm-jdk-bin-1.4.2
39 >
40 >As you can see from the comment, maybe you should run java-config to set
41 >up java correctly.
42 >
43 >
44 >
45 >
46 I think I have a problem with python or something. I ran java-config,
47 and that did nothing. I used some options the next time I ran it and I
48 got some python errors. I even tried putting your thing above into
49 /etc/env.d/20java and that did nothing. So I am still working on it
50
51 --Mike S
52 --
53 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] $PATH? Neil Bothwick <neil@××××××××××.uk>