When a version of Java is emerged, the classpath is set (via java-config) incorrectly. It is set to /usr/-java version-/jre/lib/rt.jar when it should be set to /usr/-java version-/jre/lib. As it stands, java works, but with this default setting, extensions installed in jre/lib/ext are not automatically loaded. As far as I understand it, the Sun recommended classpath should be ...jre/lib. This problem seems to be with java-config rather than the actual Java ebuilds. Reproducible: Always Steps to Reproduce: 1. Emerge Java 2. 3. Actual Results: CLASSPATH="/usr/-java version-/jre/lib/rt.jar:." Expected Results: CLASSPATH=".:/usr/-java version-/jre/lib"
this should be fixed on all jdk's then. Il look at it.
Ok, i fixed this on jdk-1.3.1.07. Its on testing now. Im testing it and if it works, i will change it on all needed ebuilds.
Fixed in all sun-jdk ebuilds and jrockit ebuilds.
Im not having enough time to work on gentoo NOW, i can help on these later.
Fixed on cvs.