narwhal icon indicating copy to clipboard operation
narwhal copied to clipboard

OpenJDK -Xbootclasspath/p: options

Open nrstott opened this issue 16 years ago • 5 comments

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.

nrstott avatar Oct 25 '09 23:10 nrstott

helma solves it like this http://dev.helma.org/trac/helma/changeset/9811

works for me

oberhamsi avatar Oct 27 '09 18:10 oberhamsi

http://github.com/erickedji/narwhal/commit/650835f32b1900e0a78fdbf5f2bdf1730db77f3f

kriskowal avatar Dec 03 '09 00:12 kriskowal

We need to ensure this works everywhere. We've attempted this kind of solution in the past and it has always broken Narwhal somewhere.

tlrobinson avatar Dec 10 '09 02:12 tlrobinson

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

mcepl avatar Jun 27 '10 09:06 mcepl

And yes there are symlinks so that
/usr/lib/jvm/java/jre/lib
works as well.

mcepl avatar Jun 27 '10 09:06 mcepl