[BUG] LSP tool returns "No LSP server available for file type: .java" despite jdtls-lsp plugin enabled and jdtls installed
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment
| Component | Version |
|--------------|----------------------------|
| Claude Code | 2.0.76 |
| macOS | 26.1 (Build 25B78) |
| Architecture | Apple Silicon (aarch64) |
| Java | Oracle GraalVM 25+37.1 LTS |
| jdtls | 1.54.0 (via Homebrew) |
| jdtls path | /opt/homebrew/bin/jdtls |
Plugin Configuration
~/.claude/settings.json:
{
"enabledPlugins": {
"typescript-lsp@claude-plugins-official": true,
"jdtls-lsp@claude-plugins-official": true
}
}
~/.claude/plugins/installed_plugins.json confirms jdtls-lsp@claude-plugins-official is installed at version 1.0.0.
Steps to Reproduce
Actual Behavior
No LSP server available for file type: .java
Additional Context
- The plugin cache directory (~/.claude/plugins/cache/claude-plugins-official/jdtls-lsp/1.0.0/) only contains a README.md file, no actual plugin code
- TypeScript LSP plugin has the same structure (only README.md) but TypeScript LSP may work differently
- jdtls --help works correctly from terminal
- The Java project is a standard Maven multi-module project with pom.xml files
What Should Happen?
LSP tool should connect to jdtls and return references/definitions/hover info for Java files.
Error Messages/Logs
Steps to Reproduce
- Install jdtls via Homebrew: brew install jdtls
- Enable jdtls-lsp plugin in Claude Code
- Open a Java project (Maven/Quarkus multi-module project)
- Use the LSP tool with any operation on a .java file:
LSP findReferences on ApplicationService.java line 119
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗