Go to Post make your robot so it's not a problem and it won't be a problem - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-07-2012, 05:39 PM
Brobotics12 Brobotics12 is offline
Registered User
FRC #2872
 
Join Date: Oct 2011
Location: New York
Posts: 5
Brobotics12 is an unknown quantity at this point
Question Issue Running Code - Language Not Expected

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\Defa ultCode2\build
Compiling 1 source file to C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\build
Note: C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\src\edu\wpi\first\wpilibj\defaultCode\Def aultRobot.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compile:
Created dir: C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\j2meclasses
preverify:
Created dir: C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\suite
Building jar: C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\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\Defa ultCode2\image.sym
C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\image.suite
C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\image.suite.metadata
C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\image.suite.api
Expanding: C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\suite\BuiltInDefaultCode_1.0.0.jar into C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\suite
Moving 1 file to C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\suite
Moving 1 file to C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\suite
Moving 1 file to C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\suite
Deleting: C:\Users\CyberCats\Documents\NetBeansProjects\Defa ultCode2\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:4 0: 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!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:44 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi