vscode-wpilib
vscode-wpilib copied to clipboard
VS Code Java debug extension picks up arm jdk in simulation rather than installed
This makes the simulate button not work, even though through emulation it should.
"java.configuration.runtimes": [
{
"name": "JavaSE-17",
"path": "C:\\Users\\Public\\wpilib\\2024\\jdk",
"default": true
},
],
"java.import.gradle.java.home": "C:\\Users\\Public\\wpilib\\2024\\jdk",
We need to add the above to the installer (path corrected of course). This also might help fix some macOS issues as well.
Would it work to set the following instead? "java.configuration.detectJdksAtStart": false