Skip to content

Java LSP (jdtls) not working in version 1.3.13 (regression) #20452

@swpuchenxinde

Description

@swpuchenxinde

Description

Java LSP (jdtls) is not functioning in opencode v1.3.13. When opening Java files with syntax errors, the LSP does not detect or highlight these errors. No real-time error checking, auto-completion, or other LSP features are working. This worked correctly in previous versions of opencode.

Tested Java versions:

  • Java 26 (current) ✓
  • Java 21 ✓

Both Java versions have the same issue - LSP (jdtls) is not working.

Plugins

No response

OpenCode version

1.3.13

Steps to reproduce

  1. Install opencode v1.3.13
  2. Open a Java project
  3. Open any Java file with syntax errors
  4. Observe that no errors are highlighted or detected by LSP
  5. Try auto-completion and other LSP features - they don't work

Note: The same files work correctly with LSP in previous opencode versions.

Screenshot and/or share link

No response

Operating System

Windows

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions