Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #107 from mcepl/bad-bootclasspath
Browse files Browse the repository at this point in the history
Removed the Xbootclasspath hack, which breaks Narwhal on JDK 7.
  • Loading branch information
kriskowal committed Aug 23, 2011
2 parents d0cad69 + 63b96c5 commit 048adb3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions engines/rhino/bin/narwhal-rhino
Expand Up @@ -24,10 +24,6 @@ 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

if [ -n "$NARWHAL_CLASSPATH" ]; then
CLASSPATH=$NARWHAL_CLASSPATH:$CLASSPATH
fi
Expand Down

0 comments on commit 048adb3

Please sign in to comment.