Skip to content

Commit

Permalink
Ensure using the full path of provided JDK (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
PenghaiZhang authored Dec 23, 2019
1 parent a0b58ae commit e563270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
junitVersion=4.12
artifactVersion=1.0.2
artifactVersion=1.0.3
2 changes: 1 addition & 1 deletion launcher-scripts/Mac-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/zsh
OLD_JAVA_HOME=$JAVA_HOME
SCRIPT_DIRECTORY=${0:h}
SCRIPT_DIRECTORY=${0:A:h}
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u212-b03-jre/Contents/Home
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar "$SCRIPT_DIRECTORY/libs/admin.jar"
export JAVA_HOME=$OLD_JAVA_HOME

0 comments on commit e563270

Please sign in to comment.