I started out with sun-jdk-1.6 installed, and the goal of setting up Tomcat from a collection of prebuilt binaries. While performing a binary emerge of commons-dbcp, for example, # emerge -vK dev-java/commons-dbcp ...the install will begin and fail, with: * java-pkg_switch-vm 3367 0 Failed to determine VM for building. Struck me as odd since this is a binary package. I eventually figured out that if I did, # emerge -pv commons-dbcp ...then Portage would list 'dev-java/sun-jdk-1.5.0.16' as a dependency, but for some reason it doesn't during a binary emerge. After manually installing sun-jdk-1.5, binary emerge of commons-dbcp runs fine. Should jdk-1.5 be listed as a runtime dep as well as build-time? Or is there another way around this? Reproducible: Always
*** This bug has been marked as a duplicate of bug 206024 ***