Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unfix bad hack with -Xbootclasspath which is unneeded for OpenJDK and

breaks it.
  • Loading branch information...
commit 7ed145fc278931b46fb462a6ddd142e6ffc26310 1 parent d6d9bde
@mcepl mcepl authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 engines/rhino/bin/narwhal-rhino
View
10 engines/rhino/bin/narwhal-rhino
@@ -24,9 +24,13 @@ BOOTCLASSPATH=$NARWHAL_ENGINE_HOME/jars/js.jar
JAVA_OPTS=""
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"
-fi
+# See http://github.com/tlrobinson/narwhal\
+# /issuesearch?state=open&q=openjdk#issue/61/comment/289520
+# for further explanation
+#
+#if [ $isOpenJDK -gt 0 ]; then
+# JAVA_OPTS="-Xbootclasspath:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar"
+#fi
if [ -n "$NARWHAL_CLASSPATH" ]; then
CLASSPATH=$NARWHAL_CLASSPATH:$CLASSPATH
Please sign in to comment.
Something went wrong with that request. Please try again.