When using binpkg's, java-config is only installed on the buildhost -- not the hosts installing sun-jdk as a binary package. It's the java.eclass file, that uses java-config in 'java_pkg_postinst'. To reproduce: 1) Build sun-jdk on a buildhost (emerge -bav sun-jdk) 2) Copy the package to a second host (scp /usr/portage/packages/All/sun-jdk-* second-host:/usr/portage/packages/All) 3) On the second-host, run emerge -avgK sun-jdk. After this, sun-jdk _should_ be the default JVM .. but without java-config, this is not possible. Regards, ChrisA
This should actually go into java.eclass, which all the JDK and JRE ebuilds inherit.
(In reply to comment #1) > This should actually go into java.eclass, which all the JDK and JRE ebuilds > inherit. > Nice - did not know you could do that :) /me likes Gentoo a lot ..
I've made the change to java.eclass, and now just need to update all the JREs and JDKs to not DEPEND on java-config themselves.
All JREs and JDKs should be taken care of now. Thanks for reporting.