如果是直接点击图标,或者是命令行就emacs启动,jdtls会报错
Server jdtls:67683/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n)
除非我用sudo emacs,可关键是我也没在这个链路上看到需要有关什么权限的啊。emacs安装目录,jdtls的安装目录都是正常的用户权限,不需要root权限
环境
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)
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)