# jdtls LSP

> 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.

- Type: Plugin
- Repository: https://github.com/anthropics/claude-plugins-official/tree/main/plugins/jdtls-lsp
- Page: https://hebbmind.com/pt-BR/plugin/jdtls-lsp
- Stars: 40069
- Professions: [Backend](https://hebbmind.com/pt-BR/tools.md?profession=backend), [Mobile & desktop](https://hebbmind.com/pt-BR/tools.md?profession=mobile)
- Tags: backend, code-search, ide-integration, java, lsp, anthropic
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
claude plugin install jdtls-lsp@claude-plugins-official
```

## README

> The content below comes from the upstream repository https://github.com/anthropics/claude-plugins-official/tree/main/plugins/jdtls-lsp . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

# jdtls-lsp

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

## Supported Extensions
`.java`

## Installation

### Via Homebrew (macOS)
```bash
brew install jdtls
```

### Via package manager (Linux)
```bash
# Arch Linux (AUR)
yay -S jdtls

# Other distros: manual installation required
```

### Manual Installation
1. Download from [Eclipse JDT.LS releases](https://download.eclipse.org/jdtls/snapshots/)
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
- [Eclipse JDT.LS GitHub](https://github.com/eclipse-jdtls/eclipse.jdt.ls)
- [VSCode Java Extension](https://github.com/redhat-developer/vscode-java) (uses JDT.LS)

