Thread: jRIO
View Single Post
  #25   Spotlight this post!  
Unread 02-02-2013, 16:43
mlepard mlepard is offline
Registered User
FRC #4825
 
Join Date: Jan 2013
Location: Ottawa, Ontario
Posts: 5
mlepard is an unknown quantity at this point
Re: jRIO

Great Idea,

I'm trying to use it, but I'm pretty new to Java (usually use C++). I've setup a project in NetBeans and it is able to compile.

In the project libraries, I added the sunspotfrc/lib jar files to the compile & run libraries.

However, when I try and run I get an unsatisfied link error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.squawk.VM.executeCIO(IIIIIIIIILjava/lang/Object;Ljava/lang/ObjectV
at com.sun.squawk.VM.executeCIO(Native Method)
at com.sun.squawk.VM.execSyncIO(VM.java:3441)
at com.sun.cldc.jna.Platform.getNativePlatformName(Pl atform.java:92)
at com.sun.cldc.jna.Platform.makePlatform(Platform.ja va:139)
at com.sun.cldc.jna.Platform.<clinit>(Platform.java:3 9)
at com.sun.squawk.platform.Platform.getPlatformName(P latform.java:59)
at com.sun.squawk.platform.Platform.getPlatformInstan ce(Platform.java:72)
at com.sun.squawk.platform.Platform.getGCFSockets(Pla tform.java:89)
at com.sun.squawk.io.j2me.socket.Protocol.<clinit>(Pr otocol.java:67)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at javax.microedition.io.Connector.openPrim(Connector .java:293)
at javax.microedition.io.Connector.open(Connector.jav a:238)
at javax.microedition.io.Connector.open(Connector.jav a:193)
at javax.microedition.io.Connector.open(Connector.jav a:177)
at edu.wpi.first.wpilibj.networktables2.stream.Socket ConnectionServerStreamProvider.<init>(SocketConnec tionServerStreamProvider.java:24)
at edu.wpi.first.wpilibj.networktables2.stream.Socket Streams.newStreamProvider(SocketStreams.java:30)
at edu.wpi.first.wpilibj.networktables.NetworkTableMo de$1.createNode(NetworkTableMode.java:26)
at edu.wpi.first.wpilibj.networktables.NetworkTable.i nitialize(NetworkTable.java:52)
at edu.wpi.first.wpilibj.networktables.NetworkTable.g etTable(NetworkTable.java:106)
at edu.wpi.first.wpilibj.livewindow.LiveWindow.<clini t>(LiveWindow.java:56)
at org.usfirst.frc4825.AshburySubsystemRobot.RobotMap .init(RobotMap.java:32)
at org.usfirst.frc4825.AshburySubsystemRobot.Robot.ro botInit(Robot.java:38)
at edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:54)
at org.jRIO.mainframe.Main.start(Main.java:45)
at robottestprogram.RobotTestProgram.main(RobotTestPr ogram.java:29)

Any thoughts?

Thanks,
Mike
Reply With Quote