Hi,
I’ve recently gotten the cRIO Imaging tool to load the image to the robot, but when I run the BuiltInDefaultCode in Netbeans, it attempts to build the code and I get this output:
init:
init:
No to.jar.file specified.
Using “suite\BuiltInDefaultCode_1.0.0.jar”
clean:
Created dir: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\build
Compiling 1 source file to C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\build
Note: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\src\edu\wpi\first\wpilibj\defaultCode\DefaultRobot.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compile:
Created dir: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\j2meclasses
preverify:
Created dir: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite
Building jar: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite\BuiltInDefaultCode_1.0.0.jar
jar-app:
Using “suite\BuiltInDefaultCode_1.0.0.jar”
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] …]
Excluding compile: com.sun.squawk.Method::getParameterTypes
Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 100 classes and generated these files:
C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\image.sym
C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\image.suite
C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\image.suite.metadata
C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\image.suite.api
Expanding: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite\BuiltInDefaultCode_1.0.0.jar into C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite
Moving 1 file to C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite
Moving 1 file to C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite
Moving 1 file to C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\suite
Deleting: C:\Users\CyberCats\Documents\NetBeansProjects\DefaultCode2\image.suite.api
target IP: 10.28.72.2
Network interfaces on host:
Atheros AR8132 PCI-E Fast Ethernet Controller (NDIS 6.20): address: 10.28.72.5 netmask: 255.255.255.255
Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC: address: 192.168.6.88 netmask: 255.255.255.255
WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot.
Connecting FTP @10.28.72.2
C:\Users\CyberCats\sunspotfrcsdk\build.xml:95: The following error occurred while executing this line:
C:\Users\CyberCats\sunspotfrcsdk\ant\upgrade.xml:40: Expected version Java; for Language but got “Java;”. Go to http://first.wpi.edu/FRC/frcjava.html to get latest software update
BUILD FAILED (total time: 9 seconds)
I’m using a wired connection to load the code, so I don’t see how the subnet could be an issue. Regardless, how do I change the subnet that NetBeans works on?
And what does the last line mean?" “C:\Users\CyberCats\sunspotfrcsdk\ant\upgrade.xml:40: Expected version Java; for Language but got “Java;”.”
I went to the given site and they only had files for the 2011 competition. Any help would be appreciated. Thank you!