Description
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:
"java.configuration.runtimes": [
{
"name": "JavaSE-1.8",
"path": "C:\\Program Files\\Eclipse Foundation\\jdk-8.0.302.8-hotspot"
},
{
"name": "JavaSE-11",
"path": "C:\\Program Files\\Eclipse Foundation\\jdk-11.0.12.7-hotspot"
},
{
"name": "JavaSE-16",
"path": "C:\\Program Files\\Eclipse Foundation\\jdk-16.0.2.7-hotspot"
}
],
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
- Operating System: Windows 10
- Visual Studio Code version: 1.60.0
- Java extension version: 0.81.0