This doesn't really have much to do with programming, but I didn't know where else to post this really :S
Whenever I create a symbolic link to javac, java, jar...etc. in /usr/bin, it doesn't matter which user I am, it's as though the links aren't there. Last time I did this, I remember making the links symbolic.
Here's what I've done (as root):
Code:
# cd /usr/java/jdk1.5.0_06/bin
# ln -s javac /usr/bin/javac
# ln -s java /usr/bin/java
# ln -s jar /usr/bin/jar
The error I get when I try to run java (let's say, in my home directory), is:
Code:
bash: /usr/bin/java: Too many levels of symbolic links
What is that supposed to mean, "too many levels of symbolic links", and how do I get my links working again?
PS. /usr/bin is in my $PATH env var.