This is the error I've got after "emerge -C sun-jdk ; emerge sun-jdk" (with sun-jdk-1.4.1_rc1 not masked): * No default VM found, setting sun-jdk-1.4.1_rc1 as default /usr/bin/java-config: [: too many arguments sun-jdk-1.4.1_rc1 not found * The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/libjavaplugin_oji140.so >>> Regenerating /etc/ld.so.cache... >>> dev-java/sun-jdk-1.4.1_rc1 merged. >>> Recording dev-java/sun-jdk in "world" favorites file... * GNU info directory index is up-to-date. After that, I've tried to manually set the system VM: # java-config --list-available-vms /usr/bin/java-config: /etc/env.d/java/20*-*: No such file or directory [*-*]
this is java-config bug, not sun's jdk. i've seen this error /usr/bin/java-config: /etc/env.d/java/20*-*: No such file or directory [*-*] when only VM installed on my box was blackdown-jre. someone in irc suggested, that i shouldn't worry about error message, because java-config works even when reporting such errors. but imvho it should be fixed.
Yes, it's actually a major matter that will have to be fixed very soon. I can't get to it until Saturday, unforunately.