Saturday, February 28, 2009

[SOLVED] Error: could not open /jre/lib/i386/jvm.cfg

PROBLEM:
alexey@alexey-laptop:~/java/jdk1.5/jre/lib/i386$ java
Error: could not open `/home/alexey/java/jdk1.5/jre/lib/i386/jvm.cfg'
alexey@alexey-laptop:~/java/jdk1.5/jre/lib/i386$ file jvm.cfg
jvm.cfg: broken symbolic link to `/etc/java-1.5.0-sun/jvm.cfg'

SOLUTION:
Try running "sudo apt-get install --reinstall sun-java5-jre".

No comments: