sublimelsp / LSP-jdtls

Convenience package for the Eclipse JDT language server

Home Page:https://packagecontrol.io/packages/LSP-jdtls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jdtls exited with status code 13

idr4n opened this issue · comments

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.

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.

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