vscode-wpilib icon indicating copy to clipboard operation
vscode-wpilib copied to clipboard

VS Code Java debug extension picks up arm jdk in simulation rather than installed

Open ThadHouse opened this issue 1 year ago • 2 comments

This makes the simulate button not work, even though through emulation it should.

ThadHouse avatar Jan 17 '24 18:01 ThadHouse

  "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.

ThadHouse avatar Jan 17 '24 18:01 ThadHouse

Would it work to set the following instead? "java.configuration.detectJdksAtStart": false

sciencewhiz avatar Aug 08 '24 02:08 sciencewhiz