Downloading java program

How do you download a program to the roborio using a java program?

I’m not sure what you are asking. Do you:

  1. have a java robot program and want to deploy it to the Rio
  2. have a java desktop program and want to run it on the desktop and have it deploy another program to the Rio

The answer to (1) is to use the standard robot template project and either run “gradlew deploy” at a command prompt or, within vscode, run the WPILib deploy robot code command. See these two docs:

Thank you.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.