From: Ben Soares Date: Tue, 18 Dec 2018 14:14:57 +0000 (+0000) Subject: JAL-3130 added a javac helper script too (like the java helper script) X-Git-Tag: Release_2_11_0~17^2~7^2~58^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=51fbf0997417c515731b5932526c47bcb284f172;p=jalview.git JAL-3130 added a javac helper script too (like the java helper script) --- diff --git a/j11jre/bin/java b/j11jre/bin/java index 1fff2eb..bc8072b 100755 --- a/j11jre/bin/java +++ b/j11jre/bin/java @@ -5,6 +5,8 @@ OS=$(uname) [ -z $JRE_HOME ] && JRE_HOME=$JAVA_HOME BASE_DIR=$(dirname ${0}) BASE_DIR=${BASE_DIR%/bin} +BASE_CMD=$(basename ${0}) + if [ -z $JRE_HOME ]; then case $OS in @@ -13,5 +15,5 @@ if [ -z $JRE_HOME ]; then esac fi -echo $JRE_HOME/bin/java ${@} +echo $JRE_HOME/bin/$BASE_CMD ${@} $JRE_HOME/bin/java ${@} diff --git a/j11jre/bin/javac b/j11jre/bin/javac new file mode 120000 index 0000000..8586397 --- /dev/null +++ b/j11jre/bin/javac @@ -0,0 +1 @@ +java \ No newline at end of file