-
Notifications
You must be signed in to change notification settings - Fork 442
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
Define several runtimes for a same version of Java #2115
Define several runtimes for a same version of Java #2115
Comments
I don't think this is supported because the idea is to detect the target environment that the project requires (eg. Maven project defines source/target of 11) and use the corresponding JVM for that. If there were multiple, then we would need to prompt each time to clarify which is actually intended in that case. I believe https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack provides a UI over |
In #2001, we allowed projects to set their own |
Allowing multiple jdk installation paths for the same environment name in our setting schema can be helpful. Because we cannot guarantee that the jdk scan logic can always find all jdk installations. If Why not just registering all user set JDKs to the registration? In the case that there are multiple JDKs maps to the same environment, it is not necessary to use the environment name as the JDK name, we can generate a unique name for it. |
Is it possible to define several runtimes for a same version of Java in VSCode? I'd like to use the both the Hotspot and OpenJ9 JVM.
My
java.configuration.runtimes
setting in VSCode looks like this:I also have other JVMs installed for each of these Java version on my machine. For example one of them is located here:
C:\Program Files\Semeru\jdk-8.0.302.8-openj9
.Environment
The text was updated successfully, but these errors were encountered: