On 08/02/2009 01:42 PM, James wrote:
walt<w41ter<at> gmail.com> writes:
java-check-environment <snip> Java environment is sane. Congratulations! eselect java-vm list Available Java Virtual Machines: [1] sun-jdk-1.6 system-vm But look here: eix virtual/jdk [I] virtual/jdk Available versions: (1.4) 1.4.1 1.4.2 (1.5) 1.5.0 (1.6) 1.6.0 Installed versions: 1.4.2(1.4)(14:13:11 07/07/09) 1.6.0(1.6)(14:10:01 07/07/09) Homepage: http://java.sun.com/ Description: Virtual for JDK
I forgot to ask last time: what printed the lines above? I don't recognize the format from anything I have. This may be the real key to your problem. My 20java-config is identical to yours, so that's not the problem. Here is my /usr/lib/jvm: $ls -l /usr/lib/jvm lrwxrwxrwx 1 root root 21 2008-04-20 09:24 sun-jdk-1.5 -> /opt/sun-jdk-1.5.0.15/ lrwxrwxrwx 1 root root 21 2009-07-01 05:50 sun-jdk-1.6 -> /opt/sun-jdk-1.6.0.14/ Here is my /etc/java-config-2: $ls -lF /etc/java-config-2/ drwxr-xr-x 2 root root 4096 2009-07-01 05:48 build/ lrwxrwxrwx 1 root root 25 2008-04-26 14:50 current-system-vm -> /usr/lib/jvm//sun-jdk-1.6/ -rw-r--r-- 1 root root 61 2009-01-13 22:33 virtuals The file 'virtuals' and the two files in the 'build' directory have only example items that are commented out. Have a look there. Either rename or delete your ~/.java directory. Mine is often out of date even thought theoretically we shouldn't need to worry about it. And try renaming or deleting your ~/.ooo3 directory for the same reasons. And 'grep -r 1.4.2 /etc/*' may turn up obsolete config files that you don't know you have. It's like rummaging through your attic :)