Plugin Official

jdtls LSP

Java (Eclipse JDT.LS) language server for Claude Code: code intelligence and diagnostics for .java files.

Author
Anthropic
Works with
Claude Code
License
Apache-2.0
Documented
Oct 2, 2026

What jdtls LSP is

jdtls-lsp connects the Java (Eclipse JDT.LS) language server to Claude Code, giving it code intelligence and diagnostics for java files. The plugin only wires up the server; the server binary must be installed separately.

What it does

How jdtls LSP plugs in: which agents run it and what it addsRUNS INYour agentClaude Codeone host documentedPLUGIN · OFFICIALjdtls LSPBundles of skills, commands, hook…5 install steps1 permission notelicense: Apache-2.0WHAT IT ADDSWhat it doesRegisters the jdtls language serv…Maps file extensions to the langu…Gives Claude Code code intelligen…agent → extension → new capability · from the official repository or docs
Where jdtls LSP runs and what it adds, from its documentation
  • Registers the jdtls language server (command: jdtls (startupTimeout 120000 ms)) via the marketplace lspServers entry
  • Maps file extensions to the language: .java
  • Gives Claude Code code intelligence and diagnostics for Java (Eclipse JDT.LS) projects

When to use it

Good fit

  • Working in a Java (Eclipse JDT.LS) codebase where Claude Code should use real language-server analysis
  • Wanting diagnostics and navigation from jdtls without leaving Claude Code

Not for

  • Projects in other languages (it only maps the extensions listed)
  • Setups where you cannot install the jdtls binary on PATH

How to install jdtls LSP

You need: Claude Code; jdtls binary on PATH; Java 17 or later (JDK, not just JRE)

  1. Install the language server binary first (the plugin does not bundle it):
  2. macOS: brew install jdtls
  3. Arch Linux (AUR): yay -S jdtls; other distros need manual installation
  4. Manual: download from Eclipse JDT.LS releases, extract (e.g. ~/.local/share/jdtls), create a wrapper script named jdtls in your PATH
  5. Install the plugin: /plugin install jdtls-lsp@claude-plugins-official

Permissions and security

What it can access

  • Launches the jdtls process locally and reads the project files it analyzes

Security notes from the maintainers

  • Marketplace README: make sure you trust a plugin before installing, updating, or using it

Review the source before granting an agent access to credentials or production systems. We document what the maintainers state; we do not audit code.

Limitations

  • Requires the language server to be installed separately; the plugin does not install it

Tools it extends

Frequently asked questions

How do I install the jdtls-lsp plugin for Claude Code?

Install the language server first, then run /plugin install jdtls-lsp@claude-plugins-official. source

Which file extensions does the jdtls-lsp plugin support?

.java. source

Does the jdtls-lsp plugin install jdtls for me?

No. The README lists install commands for the server itself; the plugin only registers it with Claude Code. source

Related guides

Sources and gaps

Not stated by the maintainers: last_release not visible.

More extensions to look at