diff --git a/README.md b/README.md index 4f441e68c..6d3b3f800 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ A Java [language server](https://github.com/Microsoft/vscode-languageserver-prot ### Vim (with vim-lsc) - Checkout this repository +- Run `./scripts/download_{linux|mac|windows}_jdk.sh` - Run `./scripts/link_{linux|mac|windows}.sh` - Run `mvn package -DskipTests` - Add the vim plugin [natebosch/vim-lsc](https://github.com/natebosch/vim-lsc) to your vimrc @@ -214,4 +215,4 @@ At the time of this writing, the build only works on Mac, because of the way it ### Editing -Please run ./configure before your first commit to install a pre-commit hook that formats the code. \ No newline at end of file +Please run ./configure before your first commit to install a pre-commit hook that formats the code. diff --git a/scripts/link_linux.sh b/scripts/link_linux.sh index a6a0e0b09..657c67769 100755 --- a/scripts/link_linux.sh +++ b/scripts/link_linux.sh @@ -8,10 +8,10 @@ JAVA_HOME="./jdks/linux/jdk-18" # Build in dist/linux rm -rf dist/linux -jlink \ +${JAVA_HOME}/bin/jlink \ --module-path $JAVA_HOME/jmods \ --add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \ --output dist/linux \ --no-header-files \ --no-man-pages \ - --compress 2 \ No newline at end of file + --compress 2