tlrobinson / narwhal

[DEPRECATED] A JavaScript standard library, package manager, and more.
http://narwhaljs.org/
372 stars 16 forks source link

OpenJDK -Xbootclasspath/p: options #61

Open nrstott opened 15 years ago

nrstott commented 15 years ago

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.

oberhamsi commented 15 years ago

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

works for me

kriskowal commented 14 years ago

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

tlrobinson commented 14 years ago

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

mcepl commented 14 years ago

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 commented 14 years ago

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