jdtls lsp server does not work properly in a window environment.
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