From 51fbf0997417c515731b5932526c47bcb284f172 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 18 Dec 2018 14:14:57 +0000 Subject: [PATCH] JAL-3130 added a javac helper script too (like the java helper script) --- j11jre/bin/java | 4 +++- j11jre/bin/javac | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 j11jre/bin/javac 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 -- 1.7.10.2