j2sdk path in $PATH twice? WTF?
From: Ivan Marsh (annoyed_at_you.now)
Date: Wed, 20 Oct 2004 12:21:40 -0500
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:
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.