Skip to content

Setting up development in Eclipse

Nicklas Boserup edited this page Sep 7, 2017 · 12 revisions

Preparing development with Java in Eclipse

This works on both Windows, macOS and Linux!

It is assumed that you have downloaded and installed Eclipse, and that Java (including the JDK - Java Development Kit) is installed and properly configured in Eclipse. This should all be done by standard while installing Eclipse, so it will usually not be a problem.

We have tested and used Eclipse Mars, Eclipse Neon, and Eclipse Oxygen with success, and any newer version should support everything in the future as well

Once Eclipse is up and running, go to Help -> Install New Software... and click Add... to the upper right in the appearing dialog. Type in FRC Plugins for the Name and http://first.wpi.edu/FRC/roborio/release/eclipse/ as the Location and click OK. Next click Select All followed by Next> and Next> again. Accept the License Agreement and click Finish. The FRC Plugins should now be installed in the background. You may be prompted that you are installing an insecure plugin, but this can simply be ignored; just let it install anyway, as it is merely a question of a missing package signature. When prompted to Restart, say yes.

Next, go to the menu Window -> Preferences -> WPILib Preferences and set your correct Team Number. It is vital that this number matches the number, that the robot is supplied with under the initialization! Otherwise, your code will never be run.

The Team Number for Svendborg Tekniske Gymnasium is 6678

Congratulations, your plugin should now be installed and everything is set up, and you are ready to take off!

Optional; we would strongly recommend installing a dark theme for Eclipse. This can be done by Help -> Eclipse Marketplace... and searching for 'Dark Theme' and hitting install.

If you have problems installing everything, please refer to the official WPILib instructions

Clone this wiki locally