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

[WIP] Allow multiple jdk registration for one runtime environment #3107

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdneo
Copy link
Contributor

@jdneo jdneo commented Mar 20, 2024

This is a proposal to fix redhat-developer/vscode-java#2115

Basically, this PR allows to register multiple jdks for the same environment. And the first registered one will become the default jdk for that runtime environment.

Then user can switch jdks for the same runtime environment in the classpath configuration webview.

Moreover, when some jdks are missed by the jdk detection, user can manually add them, the webview can persist them in the global java.configuration.runtimes, then all other workspaces will automatically have those added jdks via the settings.

image

@rgrunber Please let me know your thoughts/concerns about this change

Signed-off-by: Sheng Chen <sheche@microsoft.com>
@jdneo jdneo changed the title Allow multiple jdk registration for one runtime environment [WIP] Allow multiple jdk registration for one runtime environment Mar 20, 2024
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

Successfully merging this pull request may close these issues.

Define several runtimes for a same version of Java
1 participant