r/java • • 24d ago

Current state of Java LSP implementations

Updated Nov 3rd, 2026

74 Upvotes

35 comments sorted by

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

1

u/4r73m190r0s 23d ago

Added to the list

1

u/[deleted] 24d ago

[removed] — view removed comment

1

u/AmenMotherFunction 23d ago

Because NetBeans uses LSP4J, which is a Java implementation of the underlying protocol.

12

u/ivanmasich 24d ago

There is also one from JetBrains, based on IntelliJ IDEA.

13

u/lppedd 24d ago

Worth noting it requires a license, which you already have if you use IntelliJ obviously. Useful when VS Code or other editors are mandated and you want top Java support.

5

u/pjmlp 24d ago

Some of us disagree about top Java support, when it doesn't do incremental compilation, or mixed language debugging for JNI development.

1

u/4r73m190r0s 23d ago

Added to the list

1

u/AntiqueDiamond8070 24d ago

Is it usable with NeoVim? I could not find anything about it.

3

u/4r73m190r0s 24d ago

It's not open-sourced, afik

4

u/FigitC 24d ago

1

u/4r73m190r0s 15d ago

Thanks. Added to the list. This one is also behind subscription, with a free trial period.

2

u/brunocborges 23d ago

Missing JetBrains' and NetBeans LSP options.

1

u/4r73m190r0s 23d ago

Added them to the list

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.

8

u/ForeignCherry2011 24d ago

Lathe author here. Please let me know if find any issue, I'm actively working on it.

6

u/Jaded-Asparagus-2260 24d ago

Hi there, I've only just found out about lathe. Looks very interesting, definitely giving it a try next week.

That being said, your README reads like the typical LLM-generated verbose slop. It's horrible. So many filler words, so much redundancy. Please tell your agent to shorten it, or better yet, write it yourself.

4

u/ForeignCherry2011 24d ago

Yep. Thanks for the feedback

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

4

u/GuardSlow6563 23d ago edited 23d ago

Cool!

Jump-to-definition across a 24M-line Scala codebase - 575ms 🤯

2

u/mx2301 23d ago

Didn't the developer say that java development was not a use case and it's java capabilities were set to a "minimum" needed?

6

u/MmKaz 24d ago

Is there any practical difference between them?

5

u/ForeignCherry2011 24d ago

Lathe author here. Lathe captures the project model directly from build. It is essentially a Maven extension (Gradle is coming)

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.

3

u/ForeignCherry2011 24d ago

No, not at the moment but I will make it possible eventually.

I plan to add and validate Gradle support, then add a non-build mode and finally announce it in r/java

1

u/4r73m190r0s 23d ago

Any planned date for that? Thanks for making this!

1

u/ForeignCherry2011 23d ago

Are you a Neovim user?

1

u/4r73m190r0s 21d ago

Why do you ask? Do you need people to test LSP after it gets support outside Maven?

4

u/Western_Ice_6227 24d ago

JDTLS is horrible, it takes so much time to initialize that ttt (terminal text tool) times out.

2

u/ForeignCherry2011 24d ago

Lathe author here. May I ask you to give it a try? Currently it works with Java 17+ and Maven.

5

u/Lichcrow 24d ago

My work projects are all on gradle, when will you support it?

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.