Closed Ralghs closed 1 year ago
Owner
so if my project uses Java 1.8 does that mean I have to move away from nvim-jdtls?
eclipse.jdt.ls itself requires java 17 but I think it can still handle java 1.8 in your project if you setup runtimes and configure the language level in your project. See https://github.com/mfussenegger/nvim-jdtls#java-xy-language-features-are-not-available
LSP client configuration
I checked the Log and found this error. I don't understand what this error means please can someone have a look and tell me how to fix this problem
[ERROR][2023-02-09 17:52:06] .../vim/lsp/rpc.lua:733 "rpc" "java" "stderr" "Unrecognized option: --add-modules=ALL-SYSTEM\nError: Could not create the Java Virtual Ma chine.\nError: A fatal exception has occurred. Program will exit.\n"
Eclipse.jdt.ls version
1.5.0
Steps to Reproduce
:LspStart :LspLog
Expected Result
Lsp to run
Actual Result
Client 1 quit with exit code 1 and signal 0