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

Linux Java Home is still set to 2019

Open makew0rld opened this issue 5 years ago • 5 comments

Using the VSCode WPILib extension version 2020.1.2, when I run the Set VS Code Java home to FRC home command, it sets it to /home/USERNAME/frc2019/jdk. It should be setting it to /home/USERNAME/wpilib/2020/jdk.

makew0rld avatar Jan 16 '20 16:01 makew0rld

Manually setting it in the global VS Code settings.json, and not running that command fixed the problem.

makew0rld avatar Jan 16 '20 16:01 makew0rld

Because of how vscode works, if you had set vscode Java home globally with 2019, and just updated the extension to 2020, it would use the 2019 one from the global settings, and not the new 2020 one. I'll look into this, but it's pretty rare it would happen.

ThadHouse avatar Jan 16 '20 16:01 ThadHouse

When I changed the global setting manually to the correct 2020 folder, and then ran the WPILib command again, it changed it back to the 2019 folder.

makew0rld avatar Jan 16 '20 18:01 makew0rld

I have the same issue. It is correcting back to my 2019 alpha test install

ewpratten avatar Jun 15 '20 14:06 ewpratten

Is this fixed with the new installer?

AustinShalit avatar Nov 16 '20 14:11 AustinShalit