Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update error message when enable javac without setting jdk23 #3882

Open
yuyully opened this issue Nov 29, 2024 · 0 comments
Open

Update error message when enable javac without setting jdk23 #3882

yuyully opened this issue Nov 29, 2024 · 0 comments

Comments

@yuyully
Copy link

yuyully commented Nov 29, 2024

Environment
  • Operating System: Linux
  • JDK version: 23
  • Visual Studio Code version: 1.95.3
  • Java extension version: 1.37.0
Steps To Reproduce
  1. Enable javac in settings: "java.jdt.ls.javac.enabled": "on"
  2. 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.

Image

Expected Result

Update the error message to prompt users to set java.jdt.ls.java.home.

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

No branches or pull requests

1 participant