View previous topic :: View next topic |
Author |
Message |
Progman3K l33t
Joined: 03 Jan 2004 Posts: 773
|
Posted: Thu Jan 05, 2006 7:39 pm Post subject: Java ebuild missing files? Works for user, not root |
|
|
If I use java-config to change Java implementations as my regular user, it works.
If I try to set the Java implementation system-wide (as root) it gives this error:
Code: | java-config -L
[sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10" (/etc/env.d/java/20sun-jdk-1.4.2.10) *
[sun-jre-bin-1.5.0.06] "Sun JRE 1.5.0.06" (/etc/env.d/java/20sun-jre-bin-1.5.0.06) |
Code: | java-config -S sun-jre-bin-1.5.0.06
javac not found at /opt/sun-jre-bin-1.5.0.06/bin/javac or /opt/sun-jre-bin-1.5.0.06/jre/bin/javac
javadoc not found at /opt/sun-jre-bin-1.5.0.06/bin/javadoc or /opt/sun-jre-bin-1.5.0.06/jre/bin/javadoc
jar not found at /opt/sun-jre-bin-1.5.0.06/bin/jar or /opt/sun-jre-bin-1.5.0.06/jre/bin/jar
rmic not found at /opt/sun-jre-bin-1.5.0.06/bin/rmic or /opt/sun-jre-bin-1.5.0.06/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
|
I already tried re-emerging the packages, no change.
Any Java gurus out there know what this error means and how to fix it? |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Thu Jan 05, 2006 10:07 pm Post subject: |
|
|
I have to say that I've not well understood java-config, but from the messages I would say it's searching for jdk (dev-java/sun-jdk) instead of jre. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|