Configuring the Classmate for Java
It's always a good idea to check for updates first!
Let's Get Started:
-
Configuring Netbeans
- Open Netbeans.
- We need the install the WPIlibj plugins: go to: Tools > Plugins > Downloaded(tab) > Add Plugins(button)
-
They should have been installed to C:/FRCJava/
-
if not, download them here : http://first.wpi.edu/FRC/java/netbeans/update/
- edu-wpi-first-squawk.nbm
- edu-wpi-first-templates.nbm
- org-sunspotworld-SPOTFRCwelcomemodule.nbm.zip
- org-sunspotworld-renamerefactoring.nbm.zip
- org-sunspotworld-sunspotfrcapplicationtemplate.nbm.zip
- Unzip the ones that are zipped.
-
if not, download them here : http://first.wpi.edu/FRC/java/netbeans/update/
- Select the plugins.
- Once they are added to the list of plugins to install, press the install plugins button.
- Sometimes a box asks if you want to install not signed plugins. Be sure to choose YES.
- When done, you want to restart the IDE.
-
Setting your team number (for example 2648)
- (on pc) Tools > options > Miscellaneous > FRC Configuration > 2648
- Netbeans includes the capability to auto update the plugins detailed. Go to: Tools > Plugins > Settings
- Select the add button, in the name box, type FRC Java.
- This url needs to be entered in the URL box: http://first.wpi.edu/FRC/java/netbeans/update/updates.xml
- I set mine to check for updates on startup.
- WOOT the easy part is done!!!!
-
Imaging the cRio
- 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.
- 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

