JAL-3130 added a javac helper script too (like the java helper script)
authorBen Soares <bsoares@dundee.ac.uk>
Tue, 18 Dec 2018 14:14:57 +0000 (14:14 +0000)
committerBen Soares <bsoares@dundee.ac.uk>
Tue, 18 Dec 2018 14:14:57 +0000 (14:14 +0000)
j11jre/bin/java
j11jre/bin/javac [new symlink]

index 1fff2eb..bc8072b 100755 (executable)
@@ -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 (symlink)
index 0000000..8586397
--- /dev/null
@@ -0,0 +1 @@
+java
\ No newline at end of file