j2sdk path in $PATH twice? WTF?
From: Ivan Marsh (annoyed_at_you.now)
Date: 10/20/04
- Previous message: Haim Stots: "Mail quota on imapd server ?"
- Next in thread: Tom: "Re: j2sdk path in $PATH twice? WTF?"
- Reply: Tom: "Re: j2sdk path in $PATH twice? WTF?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 20 Oct 2004 12:21:40 -0500
Hey Folks,
Just ran into an annoying problem I can't figure out.
I installed the SUN Java 2 SDK RPM (j2sdk1.4.2_06.rpm) under RedHat 8.
I created /etc/profile.d/java.sh that includes the lines:
export JAVA_HOME="/usr/java/j2sdk1.4.2_06"
export JAVA_PATH="$JAVA_HOME"
export PATH="$PATH:$JAVA_HOME/bin"
Now when I login I've got the path to $JAVA_HOME/bin in my $PATH twice.
If I remove java.sh It's not in my $PATH at all.
Though this doesn't effect java, I can't figure out why it's ending up in
the path twice.
Any ideas? Are these the correct lines in the java.sh?
-- i.m. The USA Patriot Act is the most unpatriotic act in American history.
- Previous message: Haim Stots: "Mail quota on imapd server ?"
- Next in thread: Tom: "Re: j2sdk path in $PATH twice? WTF?"
- Reply: Tom: "Re: j2sdk path in $PATH twice? WTF?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|