opencode icon indicating copy to clipboard operation
opencode copied to clipboard

After automatically installing JDTLS, you need to manually add the environment variables.

Open PingKuNet opened this issue 3 weeks ago • 2 comments

Description

After automatically installing JDTLS, you need to manually add the environment variables. Otherwise, it will prompt that JDTLS is not installed. In fact, it has been installed and is already running. It seems that the logic check is using "which jdtls". Then I manually carried out the operation, and tried again, and it finally succeeded.

echo 'export PATH="/Users/pingku/.local/share/opencode/bin/jdtls/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Plugins

oh-my-opencode

OpenCode version

1.1.6

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 15.7.3

Terminal

iTerm2

PingKuNet avatar Jan 08 '26 11:01 PingKuNet

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

  • #7270: jdtls lsp server does not work properly in a window environment (similar root cause - JDTLS installed but system check fails to find it in PATH)

Feel free to ignore if this doesn't address your specific case.

github-actions[bot] avatar Jan 08 '26 11:01 github-actions[bot]

same on , thanks ~

CoderXiaohui avatar Jan 13 '26 17:01 CoderXiaohui