Log in

View Full Version : Error when compiling in Netbeans.


greendog99
18-02-2011, 13:33
I am getting the following error every time I try to compile our program in Netbeans.
Note: C:/Users/Student/Documents/NetBeansTestPRogram1/src/edu/wpi/first/wpilibj/defaultCode/DefaultRobot.java uses or overrides a depracated API.
Not:Recompile with -Xlint:deprecation for details.
The computer we are using to compile isn't the first one that wrote to the cRIO since the Netbeans firmware was flashed.

cybiko123
18-02-2011, 13:48
Sounds like you're using a feature of the WPI library (or Java itself) that is no longer supported. Are you using any hack-ish things with your code? Using Thread.stop()?

greendog99
19-02-2011, 11:41
No, we've been using commands written in the tutorial.