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

Commit 63b96c5

Browse files
author
Matěj Cepl
committed
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.
1 parent d0cad69 commit 63b96c5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: engines/rhino/bin/narwhal-rhino

-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ BOOTCLASSPATH=$NARWHAL_ENGINE_HOME/jars/js.jar
2424
JAVA_OPTS=""
2525
isOpenJDK=`java -version 2>&1 | grep -i "OpenJDK" | wc -l`
2626

27-
if [ $isOpenJDK -gt 0 ]; then
28-
JAVA_OPTS="-Xbootclasspath:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar"
29-
fi
30-
3127
if [ -n "$NARWHAL_CLASSPATH" ]; then
3228
CLASSPATH=$NARWHAL_CLASSPATH:$CLASSPATH
3329
fi

0 commit comments

Comments
 (0)