Java Beta
It's always a good idea to check for updates first!
Get Started!: {This tutorial is for those without a classmate}
http://first.wpi.edu/FRC/frcjava.html
Simple Getting started:
- Download and install :
- Netbeans. http://netbeans.org/downloads/index.html (Get the JavaSE version)
- SunSpot https://www.sunspotworld.com/GettingStarted/index.html (You need to pick your OS from the list.)
- NI cRio Image Patch http://first.wpi.edu/Images/CMS/First/NIBetaUpdate5.0.zip (WINDOWS ONLY!)
- Configuring Netbeans
- Open Netbeans
- We need the WPIlibj, go to: Tools > Plugins > Downloaded > Add Plugins
- (on mac) You have 2 options, download the listed plugins, try to find them on your computer
- You need to find:
- 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
- Or download them here : http://first.wpi.edu/FRC/java/netbeans/update/
- You need to find:
- (on pc) They should have been insalled to C:/FRCJava/
- (on mac) You have 2 options, download the listed plugins, try to find them on your computer
- Setting your team number (for example 2648)
- (on mac) Netbeans > Preferences > Miscellaneous > FRC Configuration > 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]
- Imaging the cRio
- Now its time to image your cRio, We had a lot of trouble when imaging our cRio... I would recommend that you use your (Orange) ethernet crossover cable... It took is 19 consecutive tries, restarting the cRio after each failure. Our error were like: Tcp/Ip vi... vi... vi.. failed, Unexpected error 56... SOmetimes it would go on for hours, We only got a "Timeout" once
- If you ever get it to successfully format with java technology WOOT for you!!!!
Now you can reference the java reference guide here: http://first.wpi.edu/Images/CMS/First/GettingStartedWithJava.pdf
View the Javadoc(API) here:
http://team2648.com/javadoc/index.html
View a sample robot program here....
http://team2648.com/resources/java/sample-robot-code

