You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.10.0-dev-2324+g4948fa42e
Operating system/version
Ubuntu 22.04.3 LTS
Describe the bug
Even though the openjdk-17 is successfully installed and the correct JAVA_HOME and PATH are set up in cmd_env,
jdtls still uses a different version (when there is another java version's bin in the $PATH).
The only way I managed to go around this is by replacing "java" with the path to openjdk-17's binary in the jdtls cmd when auto_install = true.
Steps To Reproduce
Have another java binary in the path
configure nvim-java with jdk.auto_install = true
Expected Behavior
Jdtls should use the installed openjdk-17 when auto_install = true
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-2324+g4948fa42e
Operating system/version
Ubuntu 22.04.3 LTS
Describe the bug
Even though the openjdk-17 is successfully installed and the correct JAVA_HOME and PATH are set up in cmd_env,
jdtls still uses a different version (when there is another java version's bin in the $PATH).
The only way I managed to go around this is by replacing "java" with the path to openjdk-17's binary in the jdtls cmd when auto_install = true.
Steps To Reproduce
Expected Behavior
Jdtls should use the installed openjdk-17 when auto_install = true
The text was updated successfully, but these errors were encountered: