GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jdtls lsp server does not work properly in a window environment. · Issue #7270 · anomalyco/opencode

jdtls lsp server does not work properly in a window environment. #7270

New issue
Copy link
New issue
Copy link
Closed
#9195
Closed
jdtls lsp server does not work properly in a window environment.#7270
#9195
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't workingwindows

Description

@crinity-khg
crinity-khg
opened on Jan 8, 2026
Issue body actions

Description

About the java code in opencode
The jdtls lsp server is not working properly in a window environment.

opencode --print-logs --log-level DEBUG debug lsp diagnostics .~~~.java

대강 이런 명령어로 터미널에서 테스트하면
INFO 2026-01-08T00:59:42 +29ms service=vcs branch=master initialized
INFO 2026-01-08T00:59:42 +0ms service=bus type=file.watcher.updated subscribing
INFO 2026-01-08T00:59:42 +211ms service=lsp serverID=jdtls spawned lsp server
INFO 2026-01-08T00:59:42 +1ms service=lsp.client serverID=jdtls starting client
INFO 2026-01-08T00:59:42 +4ms service=lsp.client serverID=jdtls sending initialize
INFO 2026-01-08T00:59:48 +6086ms service=lsp.client serverID=jdtls token=a524a6df-c9b6-483b-ba24-a8b9ffec4630 window/workDoneProgress/create
INFO 2026-01-08T00:59:48 +14ms service=lsp.client serverID=jdtls token=4da7ef09-5252-4fc3-911a-8ef74aa539d8 window/workDoneProgress/create
INFO 2026-01-08T00:59:48 +17ms service=lsp.client serverID=jdtls initialized
INFO 2026-01-08T00:59:48 +1ms service=bus type=lsp.updated publishing
INFO 2026-01-08T00:59:48 +2ms service=lsp.client serverID=jdtls path=C:\Users\crinity\intellijProject\drive-service\src\main\java\com\crinity\drive\common\dto\PageableRequest.java waiting for diagnostics
INFO 2026-01-08T00:59:48 +0ms service=bus type=lsp.client.diagnostics subscribing
INFO 2026-01-08T00:59:48 +11ms service=lsp.client serverID=jdtls path=C:\Users\crinity\intellijProject\drive-service\src\main\java\com\crinity\drive\common\dto\PageableRequest.java workspace/didChangeWatchedFiles
INFO 2026-01-08T00:59:48 +0ms service=lsp.client serverID=jdtls path=C:\Users\crinity\intellijProject\drive-service\src\main\java\com\crinity\drive\common\dto\PageableRequest.java textDocument/didOpen
INFO 2026-01-08T00:59:48 +74ms service=lsp.client serverID=jdtls token=0584183c-00ac-4e27-bbe4-44b2f9bb1886 window/workDoneProgress/create
INFO 2026-01-08T00:59:48 +1ms service=lsp.client serverID=jdtls token=8ea0b10f-290e-46f7-ab70-ba83edf2839e window/workDoneProgress/create
INFO 2026-01-08T00:59:48 +16ms service=lsp.client serverID=jdtls token=ad84e24c-4c46-42fc-8133-6d357653056b window/workDoneProgress/create
INFO 2026-01-08T00:59:51 +2910ms service=bus type=lsp.client.diagnostics unsubscribing
{}
INFO 2026-01-08T00:59:52 +1015ms service=default directory=C:\Users\crinity\intellijProject\drive-service disposing instance
INFO 2026-01-08T00:59:52 +1ms service=state key=C:\Users\crinity\intellijProject\drive-service waiting for state disposal to complete

I think it works well if you look at the log here
If you approach the actual opencode and test the lsp server functionality
Error: LSP server 'jdtls' is configured but NOT INSTALLED This error has occurred and the lsp server function is not available

This phenomenon is located in the lsp area on the right
If jdtls is shown to be enabled, it will happen the same.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. crinity-khg
    added
    bugSomething isn't working
    on Jan 8, 2026
  2. github-actions
    assigned
    rekram1-node
    on Jan 8, 2026
  3. github-actions
    added
    windows
    on Jan 8, 2026
  4. github-actions commented on Jan 8, 2026

    @github-actions
    github-actionsBot
    on Jan 8, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing Windows LSP issues. Please check:

    • Dart LSP fails on Windows: 'Command not found' despite dart being in PATH #6861: Dart LSP fails on Windows: 'Command not found' despite dart being in PATH (similar Windows LSP spawn issue)
    • ESLint LSP server fails to auto-install on Windows #6365: ESLint LSP server fails to auto-install on Windows (same error message pattern on Windows)
    • LSP - Java - eclipse-jdt-ls won't appear in the right hand side of the CLI TUI when enabled #4703: LSP - Java - eclipse-jdt-ls won't appear in the right hand side of the CLI TUI when enabled (jdtls display issue)

    These issues suggest there may be a systemic problem with how LSP servers are spawned on Windows, potentially related to:

    1. Incorrect command resolution on Windows (missing .cmd extensions)
    2. Shell spawning issues on Windows platforms
    3. Configuration command override not being respected during availability checks

    Feel free to ignore if your specific case involves unique circumstances or if you've already verified these other issues.

  5. somehow-paul commented on Jan 8, 2026

    @somehow-paul
    somehow-paul
    on Jan 8, 2026
    More actions

    I'm having the same problem—Java's LSP service isn't working, and I've been looking into it for two days.

  6. milo-container commented on Jan 12, 2026

    @milo-container
    milo-container
    on Jan 12, 2026
    More actions

    same proble

  7. rekram1-node
    closed this as completedin #9195on Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.