-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
I installed lsp java in doom emacs (latest version) on windows 10. The first time I open a java file, emacs proposes to install jdtls. I accept, but I get the following error:
-*- mode: compilation; default-directory: "~/AppData/Local/Temp/lsp-java-installQGKlPd/" -*-
Comint started at Sun Aug 21 18:50:53
mvnw.cmd -Djdt.js.server.root\=c\:/Users/andre/doom-emacs/.local/etc/lsp/eclipse.jdt.ls/ -Djunit.runner.root\=c\:/Users/andre/doom-emacs/.local/cache/eclipse.jdt.ls/test-runner/ -Djunit.runner.fileName\=junit-platform-console-standalone.jar -Djava.debug.root\=c\:/Users/andre/doom-emacs/.local/etc/lsp/eclipse.jdt.ls/bundles clean package -Djdt.download.url\=https\://download.eclipse.org/jdtls/milestones/1.5.0/jdt-language-server-1.5.0-202110191539.tar.gz
/usr/bin/bash: mvnw.cmd: command not found
Comint exited abnormally with code 127 at Sun Aug 21 18:50:54
The same command fails when I run it by hand in git bash
cd ~/doom-emacs/.local/straight/repos/lsp-java/install
mvnw.cmd -Djdt.js.server.root[etc...]
However it works when I add the path in front of the executable
./mvnw.cmd -Djdt.js.server.root[etc...]
carlbolduc
Metadata
Metadata
Assignees
Labels
No labels