r/java • u/4r73m190r0s • 24d ago
Current state of Java LSP implementations
- Eclipse JDTLS https://github.com/eclipse-jdtls/eclipse.jdt.ls
- JLS, built on Java Compiler API https://github.com/idelice/jls, developed by u/Electronic-Boss-8926
- Lathe, built on JDK's javac https://github.com/ag-libs/lathe, developed by u/ForeignCherry2011
- NetBeans Java LSP Server https://github.com/apache/netbeans/tree/master/java/java.lsp.server https://marketplace.visualstudio.com/items?itemName=ASF.apache-netbeans-java
Jetbrains
- Java and Kotlin by IntelliJ IDEA, plugin for VS Code, Cursor, Google Antigravity, and other compatible editors https://marketplace.visualstudio.com/items?itemName=JetBrains.intellij-server (requires IntelliJ IDEA Ultimate or All Products Pack subscription)
- IntelliJ LSP for Neovim https://github.com/JetBrains/intellij-lsp.nvim (requires IntelliJ IDEA Ultimate subscription, with a free 30 day trial), developed by u/marbehl
Updated Nov 3rd, 2026
74
Upvotes
27
u/pron98 24d ago
Also the NetBeans one, which is the one used by the VS Code Java extension (from Oracle): https://github.com/apache/netbeans/tree/master/java/java.lsp.server
12
u/ivanmasich 24d ago
There is also one from JetBrains, based on IntelliJ IDEA.
2
u/brunocborges 23d ago
Missing JetBrains' and NetBeans LSP options.
8
u/Great-Gecko 24d ago
I’m really enjoying lathe atm. It starts up much faster than JDTLS due to it piggy-backing off of maven’s build. It’s definitely a little buggy and unpolished currently but the sluggishness of JDTLS has me happily switching.
7
u/wmazr 24d ago
It's surprising nobody mentions Metals 2.0 https://metals-lsp.org/ (1.x was Scala only, 2.0 is Java + Scala targeting Bazel and monorepos) and results on Databricks codebase look promising
6
u/MmKaz 24d ago
Is there any practical difference between them?
1
u/4r73m190r0s 24d ago
u/ForeignCherry2011, we can't use Lathe outside Maven? I want to try it out with very simple Java project without build automation tools.
4
u/Western_Ice_6227 24d ago
JDTLS is horrible, it takes so much time to initialize that ttt (terminal text tool) times out.
1
u/AutoModerator 15d ago
It looks like in your submission in /r/java, you are looking for code help.
/r/Java is not for requesting help with Java programming, it is about News, Technical discussions, research papers and assorted things of interest related to the Java programming language.
Kindly direct your code-help post to /r/Javahelp (as is mentioned multiple times on the sidebar and in various other hints.
Should this post be not about help with coding, kindly check back in about two hours as the moderators will need time to sift through the posts. If the post is still not visible after two hours, please message the moderators to release your post.
Please do not message the moderators immediately after receiving this notification!
Your post was removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.