The two ebuilds are setting the LDPATH incorrectly with the line ADDLDPATH="/opt/sun-jdk-1.4.2.08/jre/lib" in /etc/env.d/java/20sun-jdk-1.4.2.08 and correspondingly in /etc/env.d/20java There are no dynamic-linking libraries in this directory. The blackdown-jdk-s are setting this correctly to ADDLDPATH="${JAVA_HOME}/jre/lib/i386/:${JAVA_HOME}/jre/lib/i386/native_threads/:${JAVA_HOME}/jre/lib/i386/classic/:${JAVA_HOME}/jre/lib/i386/server/" Probably just copying and renaming the files from blackdown-j{dk|re}/files to sun-j{dk|re}/file will resolve the issue or simply copying the corresponding lines.
thanks, fixed in cvs