redhat-developer / redhat-developer/vscode-java
Update error message when enable javac without setting jdk23
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Environment
- Operating System: Linux
- JDK version: 23
- Visual Studio Code version: 1.95.3
- Java extension version: 1.37.0
Steps To Reproduce
- Enable javac in settings:
"java.jdt.ls.javac.enabled": "on" - Open a java project
Current Result
Then you will get the error as below. It doesn't work if only set java.configuration.runtimes following the message in this error. Extension can work with java.jdt.ls.java.home which doesn't indicate in the error message.
Expected Result
Update the error message to prompt users to set java.jdt.ls.java.home.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Java extension with JDK 23 by enabling java.jdt.ls.javac.enabled and opening a Java project. Find the code that produces the configuration error and update its guidance to mention java.jdt.ls.java.home; verify that the resulting message matches the expected setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100