Lsp-java fails to start on Windows

What happened?

I installed Doom Emacs on Windows and followed the instruction to get everything up and running using Git Bash. I modified my init.el file to install lsp and lsp support for java. When I open a java project, Doom offers to install jdtls. After jdtls is installed, the server tries to start and crash immediately. The error:

mvnw.cmd: command not found

What did you expect to happen?

I expect the server to start. This issue has been reported in lsp-java, it is not specific to Doom Emacs: jdtls installation fails mvnw.cmd: command not found · Issue #401 · emacs-lsp/lsp-java (github.com)

It’s been a while since this has been reported and there is no useful activity in the GitHup issue. I would like to know if there is something I can configure in Doom Emacs to workaround this issue.

System information


Loading data dump...

This topic was automatically closed after 360 days. New replies are no longer allowed.