/usr/bin/java: line 2: /usr/lib/jvm/default/bin/java: Too many levels of symbolic links - arch linux
So you just want to start a java application and it does not work.
First idea "lets start it from within a shell to see something", so you do.
/usr/bin/java: line 2: /usr/lib/jvm/default/bin/java: Too many levels of symbolic links
/usr/bin/java: line 2: exec: /usr/lib/jvm/default/bin/java: cannot execute: Too many levels of symbolic links
If something like above is your output, change into root mode and fix this issue.
sudo su
cd /usr/lib/jvm
ls -halt
# something like "default -> default" should be listed
rm -fr default
# if you have installed java-7-openjdk, what should be listed by the ls above
ln -s java-7-openjdk default
And thats it, enjoy your working java applications again.
Trackbacks
The author does not allow comments to this entry
Comments
Display comments as Linear | Threaded