Hi, this is Jack of FRC team 7479. We are having a little trouble with our VS Code and such. You see, our computer from last years competition died and can no longer be in use but we manage to save the code and all that was on the computer. We are now using a new computer and manage to get most of all of apps from the old computer to this new one EXCEPT, our VS Code Java installation. Everytime I go into VS Code it always comes up with this error saying that its missing some sort of Java installation. It keeps coming up with the following code everytime I try to deploy, build or debug the code
JAVA_HOME is set to an invalid directory: D:\Users\Public\frc2019\jdk
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
The terminal process terminated with exit code: 1
It asks me for a development kit and it sends me to RedHat where I have to download a zip. And im just really confused on this and I really need some help on where to put this file since we have a recovery file from the old computer. If anyone could help me with this, I’ll be forever in your debt.
And I have no idea on how to change this JAVA_HOME issue too and I think that might be the main problem, and if there is anything I need to download, I have no idea where the file goes or anything, so if anyone could give me guidance, that would be greatly appreciative.
