Skip to content

Update error message when enable javac without setting jdk23 #3882

@yuyully

Description

@yuyully
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions