wpilibsuite / vscode-wpilib

Visual Studio Code WPILib extensions
Other
111 stars 47 forks source link

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

Open ThadHouse opened 6 months ago

ThadHouse commented 6 months ago

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

ThadHouse commented 6 months ago
  "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.