Skill Development Limited info

jdtls-lsp

A Claude Code plugin that connects the Eclipse JDT.LS Java language server to Claude Code. It provides code intelligence and refactoring for .java files.

  • 37.6k GitHub stars
brew install jdtls
jdtls-lsp — illustration

What it is

jdtls-lsp is a Claude Code plugin that brings the Eclipse JDT.LS (Java Development Tools Language Server) into Claude Code. It provides code intelligence and refactoring capabilities for Java source code. It supports files with the .java extension. The plugin relies on the jdtls executable being installed on your system. On macOS you can install it with Homebrew. On Arch Linux it is available from the AUR. Other Linux distributions need a manual installation: you download a release from the Eclipse JDT.LS snapshots site, extract it to a directory, and add a wrapper script named jdtls to your PATH. JDT.LS is the same language server used by Red Hat's VSCode Java extension. Running it requires Java 17 or later, and you need a full JDK, not just a JRE.

Who it's for

  • Java developers using Claude Code who want code intelligence on .java files
  • Developers who want language-server-backed refactoring support for Java in Claude Code
  • macOS and Linux users able to install the jdtls language server

Requirements

Requirements

  • Java 17 or later (JDK, not just JRE)
  • The jdtls executable available in your PATH

Setup

  1. Install via Homebrew (macOS)

    On macOS, install the JDT.LS language server using Homebrew.

    bash
    brew install jdtls
  2. Install via package manager (Arch Linux)

    On Arch Linux, install jdtls from the AUR. Other distros require a manual installation.

    bash
    yay -S jdtls
  3. Manual installation

    1. Download from the 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.

هاد البلَغن بيوصّل سيرفر لغة جافا Eclipse JDT.LS مع Claude Code، وبيعطيك فهم أذكى للكود وأدوات refactoring لملفات .java.