lsp-java icon indicating copy to clipboard operation
lsp-java copied to clipboard

[java-11.0.2] jdtls keep crashing on fresh install works when manually setting `lsp-java-jdt-download-url`

Open vxe opened this issue 2 years ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

fresh install lsp java jdtls fails to start

LSP :: Connected to [jdtls:99905/starting /Users/vedwin/doc/1.5.76/src]. [2 times]
LSP :: jdtls has exited (exited abnormally with code 13)
Server jdtls:99905/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n) y
using config for config_mac

manually setting to lsp-java-jdt-download-url https://download.eclipse.org/jdtls/milestones/1.23.0/ seems to work. I am on emacs 28.2

lsp-mode:

lsp-mode 20230507.1843, Emacs 28.2, darwin

Note Before logging the bug please make sure that the issue is reproducible with latest melpa packages and it is reproducible with the clean config(the config from the getting started page.

To Reproduce install lsp-java on a fresh with a fresh lsp install

Expected behavior jdtls server version which does not crash should be downloaded

Screenshots If applicable, add screenshots to help explain your problem.

Logs Please include the debug stack trace (if there is an error) and the content of Messages buffer with lsp-print-io set to t in case the bug is related to client->server communication.

I don't have this unfortunately, opened this mainly so people know to try upgading the jdtls if the one downloaded by lsp-mode is crashing

vxe avatar May 10 '23 03:05 vxe

So , did jdtl 1.23 having some new features which you are expected , otherwise use 1.22.

sincebyte avatar May 18 '23 12:05 sincebyte