Skip to content

JDK Runtime in project settings always shows as jdk 21 while actual runtime isn't it #1443

@yuyully

Description

@yuyully

Environment:

  • VS Code Version: 1.101.2
  • Extension Version: v0.29.2
  • JDK Type & Version: jdk-24
  • OS Type & Version: Windows

Step to Reproduce:

  1. Open a java project
  2. Open project settings > JDK Runtime

Expected Behavior:
JDK Runtime in project settings can show correctly without clean and restart.

Actual Behavior:
JDK Runtime in project settings always shows as jdk 21 while actual runtime isn't it. Clean workspace cache > Restart IDE > Then it can show correctly.
Image

Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions