OpenJDK -Xbootclasspath/p: options
tlrobinson said: While we're at it we should try to solve the OpenJDK problem once and for all. I have yet to find a combination of Rhino and the -Xbootclasspath/p: option that works.
helma solves it like this http://dev.helma.org/trac/helma/changeset/9811
works for me
http://github.com/erickedji/narwhal/commit/650835f32b1900e0a78fdbf5f2bdf1730db77f3f
We need to ensure this works everywhere. We've attempted this kind of solution in the past and it has always broken Narwhal somewhere.
This completely breaks narwhal on Fedora/RHEL. OpenJDK's rt.jar is at
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar.
Moreover, everything seems to work fine without any settings to Xbootclasspath. If I just comment lines 27 to 29 of engines/rhino/bin/narwhal-rhino everything seems to work.
Which exact problem in OpenJDK we are trying to solve here?
Using java-1.6.0-openjdk-1.6.0.0-1.20.b17.el6.x86_64
And yes there are symlinks so that
/usr/lib/jvm/java/jre/lib
works as well.