Skip to content

Commit e563270

Browse files
authored
Ensure using the full path of provided JDK (#31)
1 parent a0b58ae commit e563270

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
junitVersion=4.12
2-
artifactVersion=1.0.2
2+
artifactVersion=1.0.3

launcher-scripts/Mac-launcher.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/zsh
22
OLD_JAVA_HOME=$JAVA_HOME
3-
SCRIPT_DIRECTORY=${0:h}
3+
SCRIPT_DIRECTORY=${0:A:h}
44
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u212-b03-jre/Contents/Home
55
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar "$SCRIPT_DIRECTORY/libs/admin.jar"
66
export JAVA_HOME=$OLD_JAVA_HOME

0 commit comments

Comments
 (0)