Setting Up a roboRIO

A common hurdle for any beginning FRC team or programming sub-team is the set-up of a roboRIO. Recognizing this hurdle, 2471 has created detailed instructions on how to set-up a RoboRio for Java development below. Feel free to contact us with any further questions!

Download JDK:

  • Download Java SE Development Kit from here
  • Agree to the terms and conditions and download the .exe file for either the Windows x64 or Windows x86 (or the one for your operating system)
  • Run the .exe to install (remember the directory which you installed it)

Using Intellij as the main IDE for programming (much better than Eclipse):

  • Download and install Intellij from Jetbrain here

Download and install GradleRIO:

  • Download GradleRIO from Github site

  • Only download the Quickstart.zip file (it is the template which will be used)

  • Extract the Quickstart.zip
  • Copy and paste all of the files in Quickstart folder into the folder which you will use as the main directory to save robot code.
  • Open up Intellij IDEA
  • Click on Import Project
  • Locate to the directory which you saved the robot code (as said above)
  • Click on build.gradle and OK

  • Check auto-import and click OK
  • Open the build.gradle file from within Intellij
  • Check version number and team number

  • Change team number to your team number
  • If the version number is not there already, check here to get version number

  • Then copy & paste it into the place as shown above
  • If JDK is not defined yet in your Intellij
    • Go to File > Project Structure > SDK

    • Locate the directory which you saved your JDK installation above
    • Click on the JDK folder and OK

  • Open cmd.exe
  • Go to the directory which you saved your robot code

  • Type in the command “gradlew idea”

YOU ARE NOW READY TO PROGRAM YOUR ROBOT. NOTE, THIS SETUP IS ONLY FOR JAVA. IF YOU WISH TO PROGRAM IN A DIFFERENT LANGUAGE, YOU WILL NEED TO FOLLOW A DIFFERENT STARTUP.