Skip to content

LSP java server starts and exits immediately #249

Closed
@deb75

Description

@deb75

Hello,

When I load a java file in emacs (on windows 10), the LSP server starts and exits immediately :

using config for config_win
LSP :: Sending to process failed with the following error: Writing to process: Invalid argument, jdtls
LSP :: Connected to [jdtls:14124 status:starting].
LSP :: jdtls has exited (exited abnormally with code 13)
Server jdtls:14124 status:starting exited with status exit. Do you want to restart it? (y or n) n

It looks strange for me as it used to work perfectly before I updated all emacs packages and the LSP server to their latest versions.

I made no changes in the LSP configuration and there are no errors from config when emacs 26.1 starts itself.

I wiped out the workspace directory and the LSP session file, still same behavior. Also, nothing is written in this latest directory by the LSP server starting.

What could help me is to understand what means "code 13" ?

Thanks in advance for your kind help.

Regards

deb75

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions