sublimelsp / LSP-jdtls

Convenience package for the Eclipse JDT language server
https://packagecontrol.io/packages/LSP-jdtls
MIT License
30 stars 4 forks source link

jdtls exited with status code 13 #20

Closed idr4n closed 2 years ago

idr4n commented 2 years ago

Hi,

I'm just started getting this error recently. Everything was working fine before.

image

This is the message I get in LSP's log panel:

jdtls: OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
jdtls: WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign

JAVA_HOME is set as export JAVA_HOME=$(/usr/libexec/java_home)

Thanks in advance for any advice on how to solve this issue.

idr4n commented 2 years ago

I pinned the server version in LSP-jdtls.sublime-settings to an older version.

With this, the server initialized normally for a while, but after some time it started giving the same error.

idr4n commented 2 years ago

I replaced the brew install of Java with the one downloaded from the website (LTS version) and it looks like that solved the issue 🤞🏻.