Skip to content

Commit 3c7852e

Browse files
authored
Merge pull request #282 from owlcollab/issue-256
Use -jar option to run from embedded jar. Possible fix for #256.
2 parents 3c7f746 + 9faaa72 commit 3c7852e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OWLTools-Runner/bin/owltools.script

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ fi
2121
JAVA=`which java`
2222

2323
# full command
24-
CMD="$JAVA -Xms2G $JVM_OPTIONS -DentityExpansionLimit=4086000 -Djava.awt.headless=true -classpath $PATH_TO_SELF owltools.cli.CommandLineInterface"
24+
CMD="$JAVA -Xms2G $JVM_OPTIONS -DentityExpansionLimit=4086000 -Djava.awt.headless=true -jar $PATH_TO_SELF"
2525

2626
if [ $DEBUG ]
2727
then
2828
echo $CMD "$@"
2929
fi
3030

3131
# Run
32-
exec "$JAVA" -Xms2G $JVM_OPTIONS -DentityExpansionLimit=4086000 -Djava.awt.headless=true -classpath $PATH_TO_SELF owltools.cli.CommandLineInterface "$@"
32+
exec "$JAVA" -Xms2G $JVM_OPTIONS -DentityExpansionLimit=4086000 -Djava.awt.headless=true -jar $PATH_TO_SELF "$@"
3333

3434
exit 1

0 commit comments

Comments
 (0)