microsoft / microsoft/vscode-java-pack

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

Open
#1,443 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug
Dominant language
TypeScript
Stars
352
Forks
166
Avg merge
17h 47m
Merged PRs (30d)
32

Description

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:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Reproduce the stale JDK Runtime value in project settings with JDK 24, compare it before and after cleaning the workspace cache and restarting VS Code, and confirm the setting updates correctly without those steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.