Browse files

Removing a bad Xbootclasspath hack, which breaks narwhal.

This was a bad idea when it came about, but it now actively breaks Java on
any platform which doesn't have rt.jar in
/usr/lib/jvm/java-6-openjdk/jre/lib. Which soon will be all of them (with
JDK 7), but it has been for a long time the case on Fedora/RHEL.
  • Loading branch information...
1 parent d0cad69 commit 63b96c5c38745fdc9e25619e3b54470a1d896c56 @mcepl mcepl committed Aug 22, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 engines/rhino/bin/narwhal-rhino
@@ -24,10 +24,6 @@ BOOTCLASSPATH=$NARWHAL_ENGINE_HOME/jars/js.jar
isOpenJDK=`java -version 2>&1 | grep -i "OpenJDK" | wc -l`
-if [ $isOpenJDK -gt 0 ]; then
- JAVA_OPTS="-Xbootclasspath:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar"
if [ -n "$NARWHAL_CLASSPATH" ]; then

0 comments on commit 63b96c5

Please sign in to comment.