Skip to content

feat(jdtls): allow custom launch JRE - #1920

Open
Yu-0312 wants to merge 3 commits into
oraios:mainfrom
Yu-0312:fix/1469-jdtls-custom-jre-path
Open

feat(jdtls): allow custom launch JRE#1920
Yu-0312 wants to merge 3 commits into
oraios:mainfrom
Yu-0312:fix/1469-jdtls-custom-jre-path

Conversation

@Yu-0312

@Yu-0312 Yu-0312 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #1469

Add java.custom_jre_path so users can launch JDTLS with a validated external Java executable when the bundled JRE is incompatible with their JDTLS or project. Derive JAVA_HOME for paths under a JDK bin directory, include the setting in workspace isolation, and add regression tests and documentation.

Validation:

  • uv run poe lint
  • uv run poe type-check
  • uv run pytest test/solidlsp/java/test_jdtls_path_resolution.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JDT LS fails to start: bundled JRE 21 incompatible with jdt.core.javac Java 24+ requirement

1 participant