jdtls LSP

Plugin

Connects Claude Code to the Eclipse JDT.LS language server so the agent can go to definitions, find references and inspect symbols in Java code. Needs JDK 17+ and jdtls installed first. Official Anthropic plugin.

anthropics/claude-plugins-official · plugins/jdtls-lsp40.1k
Ver no GitHub
README

jdtls-lsp

Java language server (Eclipse JDT.LS) for Claude Code, providing code intelligence and refactoring.

Supported Extensions

.java

Installation

Via Homebrew (macOS)

brew install jdtls

Via package manager (Linux)

# Arch Linux (AUR)
yay -S jdtls

# Other distros: manual installation required

Manual Installation

  1. Download from Eclipse JDT.LS releases
  2. Extract to a directory (e.g., ~/.local/share/jdtls)
  3. Create a wrapper script named jdtls in your PATH

Requirements

  • Java 17 or later (JDK, not just JRE)

More Information