Installing Java 8 on the roboRIO using the FRC roboRIO Java Installer (Java only)
Running robot Java programs requires the Java runtime to be installed on the roboRIO. This can be done easily using the FRC Java Installer application. The application itself uses java, so Java 8 must be installed on the development system to use the installer. In addition a connection to the roboRIO and the internet are required to download the roboRIO Java runtime and then transfer it to the roboRIO. The installer also has provisions to download Java from the internet once, then install on multiple roboRIOs, or reinstall it after re-imaging a roboRIO.
The computer used to run the installer can be running Microsoft Windows, Mac OS X, or Linux.
Note: Whenever a new image is installed on the roboRIO (either when initially setting it up or later if the image is updated or reinstalled) the Java runtime must be replaced. This is an easy to overlook step so be sure to keep this in mind.
Prerequisite
Your roboRIO must be wired (both powered and connected to your PC) and imaged prior to installing the JRE. You also need the Eclipse FRC Java plugin installed. It is recommended that you follow the steps in the Getting Started with the 2016 Control System manual in order.
Note: Java 8 must be installed on the computer used to run the installer, previous versions of Java prior to Java 8 will not work to run the Java installer.
Oracle has updated their page with a new version of the JRE. The 1/23 Eclipse plugin update includes a fix for the Java installer. If you cannot find the right file on the page (the file described and shown in the documentation below), you are using the old Eclipse plugin and need to update. Details about updating Eclipse plugins can be found near the bottom of the Installing Eclipse (C++/Java) document.
Start the FRC Java Installer
The FRC Java Installer application is written in Java. You can usually run it (depending on your computer operating system) by double-clicking on the file in <home-directory>/wpilib/tools/java-installer.jar. So if your home directory is c:\Users\george then the installer is c:\Users\george\wpilib\tools\java-installer.jar. When it starts you'll see the start screen.
The installation takes several steps and the Next button is usually used to navigate between steps. To get started click "Next".
Getting ready to download Java from the internet
Accepting the Oracle Java license agreement
Select the version of Java to download
Log into the Oracle web site
Java downloads to your computer
Getting ready to install the JRE onto the roboRIO
Make sure your computer is connected to the roboRIO. If this computer can not be connected to the roboRIO, then you can take the downloaded Java file and the installer and continue on a computer that is connected to the roboRIO. Click "Next" when you're ready to proceed.
It is recommended to use the USB connection, but Ethernet should also work; however, both interfaces (USB and Ethernet) should not be connected at the same time.











0 Report Errors
Use this form to report any errors with the documentation. For help with WPILib, please use the FIRST Forums at http://forums.usfirst.org For reporting WPILib bugs, please submit an issue on GitHub at https://github.com/wpilibsuite/allwpilib/issues/new