diff options
author | Leigh McCulloch <leigh@mcchouse.com> | 2019-02-17 07:23:18 +0000 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-02-18 15:15:11 -0800 |
commit | 6d65d0e987fb8be8f22feb2ad9f2be7e48fc9b2b (patch) | |
tree | 4d54d6998325dd80775e6ab3d80a8f3c2feef914 /scripts/link_windows.sh | |
parent | b9b74cc01be266ce21c352cd2be0cd4499361407 (diff) | |
download | java-language-server-6d65d0e987fb8be8f22feb2ad9f2be7e48fc9b2b.zip |
Add a script for linking for debian
What
===
Add a script for linking for debian.
Why
===
The location of java home is different on mac and debian, and on debian
there is no java_home variable to select version 11 of java. The default
jdk installation on debian is currently version 11 and the script uses
that. In the event it is not installed mvn will error because the
JAVA_HOME is pointing to an invalid path. In the event multiple version
of java are installed version 11 will be used regardless of which is set
as the default.
The patch script has been updated to use the JAVA_HOME path explicitly
for each command to ensure it uses the correct version of java when
multiple versions are installed. This is consistent with the link
scripts.
Diffstat (limited to 'scripts/link_windows.sh')
0 files changed, 0 insertions, 0 deletions