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
Right now, lsp-java is downloading an older version of eclipse-jdtls (1.23.0), which doesn't support Java 21. eclipse-jdtls 1.35.0 supports up to Java 22. Can we please get an updated release of lsp-java?
To download on Java 21, I also had to (setenv "MAVEN_OPTS" "--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED")
I just put that in my init.el into the use-package declaration of lsp-java. I don’t have it working correctly at the moment, though ⇒ more problems to solve. This change just enables downloading jdtls with modern Java installed.
Sorry if this is too soon. It seems that eclipse.jdtls already supports JDK 20
eclipse-jdtls/eclipse.jdt.ls#2898 (comment)
Will we have support for JDK 21 in emacs too?
The text was updated successfully, but these errors were encountered: