You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
jdtls exit immediately when I launch emacs normally (normally means click the app icon, type emacs on iterm)
and report Server jdtls:67683/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n)
UNLESS , I use sudo emacs to launch the emacs.
Is that normal? Because I don't see any requirement of root authority on the chain.
Environment
macOS: Ventura 13.5.1
emacs: [email protected] (installed by brew)
lsp-java: 20230827.428
jdtls : jdt-language-server-1.26.0-202307271613
java : 17 (JAVA_HOME is setted by jenv)
add jdtls' bin dir to PATH. By the way , the directory which hold the jdtls can access by normal authority , no need sudo. export PATH=/Users/mmmmmcclxxvii/.emacs.d/lsp-server/jdt-language-server-1.26.0-202307271613/bin:$PATH
Command "semgrep lsp" is not present on the path.
Command "semgrep lsp" is not present on the path.
Found the following clients for /Users/mmmmmcclxxvii/Develop/temp/Application.java: (server-id jdtls, priority 0)
The following clients were selected based on priority: (server-id jdtls, priority 0)
Command "semgrep lsp" is not present on the path.
Command "semgrep lsp" is not present on the path.
Found the following clients for /Users/mmmmmcclxxvii/Develop/temp/Application.java: (server-id jdtls, priority 0)
The following clients were selected based on priority: (server-id jdtls, priority 0)
``
Describe the bug
jdtls exit immediately when I launch emacs normally (normally means click the app icon, type
emacs
on iterm)and report
Server jdtls:67683/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n)
UNLESS , I use
sudo emacs
to launch the emacs.Is that normal? Because I don't see any requirement of root authority on the chain.
Environment
macOS: Ventura 13.5.1
emacs: [email protected] (installed by brew)
lsp-java: 20230827.428
jdtls : jdt-language-server-1.26.0-202307271613
java : 17 (JAVA_HOME is setted by jenv)
To Reproduce
export PATH=/Users/mmmmmcclxxvii/.emacs.d/lsp-server/jdt-language-server-1.26.0-202307271613/bin:$PATH
(setq lsp-java-server-install-dir "~/.emacs.d/lsp-server/jdt-language-server-1.26.0-202307271613")
emacs --debug-init
C-x C-f
open~/Develop/temp/Application.java
Expected behavior
show: LSP:: jdtls connected to xxxx
Screenshots
Above screenshot is launching emacs normally
Above screenshot is launching emacs via
sudo emacs
The text was updated successfully, but these errors were encountered: