For example in mac, I can reproduce these errors ``` :~/src/georgewfraser/java-language-server (master)$ ./scripts/link_mac.sh Error: jlink version 23.0 does not match target java.base version 18.0 ``` I have another java 23 installation that is enabled by default. The following diff addresses the problem. ``` $ git diff diff --git a/scripts/link_mac.sh b/scripts/link_mac.sh index ec502cce..b14331d6 100755 --- a/scripts/link_mac.sh +++ b/scripts/link_mac.sh @@ -8,10 +8,10 @@ JAVA_HOME="./jdks/mac/jdk-18" # Build using jlink rm -rf dist/mac -jlink \ +$JAVA_HOME/Contents/Home/bin/jlink \ --module-path $JAVA_HOME/Contents/Home/jmods \ --add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \ --output dist/mac \ --no-header-files \ --no-man-pages \ ```