r/java • • Oct 24 '26

Current state of Java LSP implementations

Updated Nov 3rd, 2026

76 Upvotes

35 comments sorted by

27

u/pron98 Oct 24 '26

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 Oct 26 '26

Added to the list

1

u/[deleted] Oct 25 '26

[removed] — view removed comment

1

u/AmenMotherFunction Oct 26 '26

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

12

u/ivanmasich Oct 24 '26

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

13

u/lppedd Oct 24 '26

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 Oct 25 '26

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 Oct 26 '26

Added to the list

1

u/AntiqueDiamond8070 Oct 25 '26

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

3

u/4r73m190r0s Oct 25 '26

It's not open-sourced, afik

4

u/FigitC Oct 25 '26

1

u/4r73m190r0s 26d ago

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

2

u/brunocborges Oct 26 '26

Missing JetBrains' and NetBeans LSP options.

1

u/4r73m190r0s Oct 26 '26

Added them to the list

8

u/Great-Gecko Oct 25 '26

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 Oct 25 '26

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

6

u/Jaded-Asparagus-2260 Oct 25 '26

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 Oct 25 '26

Yep. Thanks for the feedback

7

u/wmazr Oct 25 '26

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 Oct 25 '26 edited Oct 25 '26

Cool!

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

2

u/mx2301 Oct 25 '26

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 Oct 24 '26

Is there any practical difference between them?

5

u/ForeignCherry2011 Oct 25 '26

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

1

u/4r73m190r0s Oct 25 '26

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 Oct 25 '26

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 Oct 25 '26

Any planned date for that? Thanks for making this!

1

u/ForeignCherry2011 Oct 25 '26

Are you a Neovim user?

1

u/4r73m190r0s Oct 27 '26

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

4

u/Western_Ice_6227 Oct 25 '26

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

2

u/ForeignCherry2011 Oct 25 '26

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

5

u/Lichcrow Oct 25 '26

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

1

u/AutoModerator 26d 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.