summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeigh McCulloch <leigh@mcchouse.com>2019-02-17 21:17:58 +0000
committerGeorge Fraser <george@fivetran.com>2019-02-18 15:15:11 -0800
commit2e2f574f4f4bbdaaec0debcdbc1a4552add36f15 (patch)
tree22eb3169da9dbf19fe7e0db128b313a0dbd6e0bf
parent9a38c0a39cea36950c0d95553a390575a4e6f543 (diff)
downloadjava-language-server-2e2f574f4f4bbdaaec0debcdbc1a4552add36f15.zip
Use the java home set earlier as the real java home
-rwxr-xr-xscripts/link_windows.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/link_windows.sh b/scripts/link_windows.sh
index 0a5ad6d..0d16acb 100755
--- a/scripts/link_windows.sh
+++ b/scripts/link_windows.sh
@@ -32,8 +32,8 @@ if [ ! -e jdks/windows/jdk-11.0.1 ]; then
fi
# Set env variables to build with mac toolchain but windows target
+REAL_JAVA_HOME=$JAVA_HOME
JAVA_HOME="./jdks/windows/jdk-11.0.1"
-REAL_JAVA_HOME=$(/usr/libexec/java_home -v 11)
# Build in dist/windows
rm -rf dist/windows