Configuring the Classmate for Java

It's always a good idea to check for updates first!
Let's Get Started:

  1. Configuring Netbeans
    1. Open Netbeans.
    2. We need the install the WPIlibj plugins: go to: Tools > Plugins > Downloaded(tab) > Add Plugins(button)
    3. They should have been installed to C:/FRCJava/
      1. if not, download them here : http://first.wpi.edu/FRC/java/netbeans/update/
        1. edu-wpi-first-squawk.nbm
        2. edu-wpi-first-templates.nbm
        3. org-sunspotworld-SPOTFRCwelcomemodule.nbm.zip
        4. org-sunspotworld-renamerefactoring.nbm.zip
        5. org-sunspotworld-sunspotfrcapplicationtemplate.nbm.zip
      2. Unzip the ones that are zipped.
    4. Select the plugins.
    5. Once they are added to the list of plugins to install, press the install plugins button.
    6. Sometimes a box asks if you want to install not signed plugins. Be sure to choose YES.
    7. When done, you want to restart the IDE.
    8. Setting your team number (for example 2648)
      1. (on pc) Tools > options > Miscellaneous > FRC Configuration > 2648
    9. Netbeans includes the capability to auto update the plugins detailed. Go to:  Tools > Plugins > Settings
      1. Select the add button, in the name box, type FRC Java.
      2. This url needs to be entered in the URL box: http://first.wpi.edu/FRC/java/netbeans/update/updates.xml
      3. I set mine to check for updates on startup.
    10. WOOT the easy part is done!!!!
  2. Imaging the cRio
    1. Now it's time to image your cRio. We had a lot of trouble when imaging our cRio, so I would recommend that you use your (Orange) ethernet crossover cable. It took is 19 consecutive tries, restarting the cRio after each failure. Our errors were: Tcp/Ip vi... vi... vi.. failed, Unexpected error 56, etc. Sometimes it would go on for hours and we only got a "Timeout" once.
    2. If you get it to successfully format with java technology WOOT for you!!!!

See our basics of netbeans to learn how to download code to your cRio with Netbeans!

View a sample robot program here:
http://team2648.com/resources/java/sample-robot-code

View the Javadoc(API) here:
http://team2648.com/javadoc/index.html

Now you can reference the java reference guide here: http://first.wpi.edu/Images/CMS/First/GettingStartedWithJava.pdf