Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-ppc-user@g.o
From: Neil Bothwick <neil@...>
Subject: Re: $PATH?
Date: Wed, 10 Aug 2005 14:24:54 +0100
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:
pgpTMicLIz4be.pgp (PGP signature)
Replies:
Re: $PATH?
-- Mike S
References:
$PATH?
-- Mike S
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: $PATH?
Next by thread:
Re: $PATH?
Previous by date:
Re: $PATH?
Next by date:
Re: time


Updated Jun 17, 2009

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.