redhat-developer / redhat-developer/vscode-java

inform/detect which operating system a jdk comes from and stop this error

Open
#3,678 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

whenever i open a java project in vscode in a different operating system, this appears:

image

those jdk exists, but in another machine, another operating system.

please make possible detect if jdks belongs to the current operating system so the message does not pops out.

Environment
  • Operating System: it varies, try mac and linux
  • JDK version: varies
  • Visual Studio Code version: at least the 6 last releases
  • Java extension version: latest one presents the issue
Steps To Reproduce
  1. sync vscode account and settings across operating systems
  2. configure distinct jvms on each OS
Current Result

The jvm marked as missing exists in another OS

Expected Result

my account works across distinct installations, that setting is platform-dependent, or at least should be

Additional Informations

Contributor guide

Open the contributing guide

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 or tests are named. Start by tracing how VS Code settings sync restores JVM configuration and how the extension validates configured JDKs on macOS and Linux; reproduce the reported cross-platform setup. Done means settings from another operating system no longer produce a missing-JDK warning when the configured JDK is valid locally.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.