Follow the instructions below:
Installing C++ and Java Development Tools for FRC
Clone this repository and open the folder in FRC VS Code 2019
Click on the 'W' in the red circle to open the WPILib commands
To Build - Click the WPILib: Build Robot Code command
To Deploy - Click the WPILib: Deploy Robot Code command
Clone this repository, open command prompt, and cd
to the folder
To Build - Run the command gradlew build
To Deploy - Run the command gradlew deploy
You must be connected to the robot for the deploy command to succeed
If the command line gives you an error about the JAVA_HOME variable not being set, follow the instructions below:
How to set the JAVA_HOME variable
The path to Java should be at <Users Directory>/Public/frc2019/jdk