Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,30 @@ TIP: The cql-language-server that provides error highlighting is a Java project.
On linux:
`vscode-cql/dist/jars$ ln -s your-repo-home/cql-language-server/ls/service/target/cql-ls-service-1.5.8.jar cql-ls-service-1.5.8.jar`

Java version managers are often used. These include:


[SDKMAN!](https://sdkman.io/)

[jenv](https://github.com/jenv/jenv)

[asdf](https://asdf-vm.com/)

If you are seeing something similar to:

Starting client failed.
Launching server using command /undefined/bin/java failed.
Error: spawn /undefined/bin/java ENOENT

Then you will need to add the following to your shell startup file (either .zshrc or .bashrc).

For jenv users:
`jenv add ~/.jenv/plugins/java/set-java-home.zsh`
For asdf users:
`add ~/.asdf/plugins/java/set-java-home.zsh to ~/.zshrc` (You might need to add this to ~/.bashrc if using bash or the same with other shells).

SDKMAN! should automatically manage JAVA_HOME for you.

Set your repo home directory and update the versions as needed.

## Versioning
Expand Down