iCommand in Eclipse on OS X

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

iCommand in Eclipse on OS X

Postby Mantz » Tue Oct 09, 2007 2:05 pm

Help needed...

I am trying to get iCommand running on my MacBookPro using Eclipse. I did everything as told in the ReadMe-File but it just doesn't seem to work. Everytime I try to run the RadioControl.class I get an "UnsatisfiedLinkError". More precisely this:
Looking for 'icommand.properties' in working dir: /Users/Mantz/Documents/Eclipse/workspace/NXTTest
NXTCOMM = /dev/tty.NXT3
Serialio Library: version 9.7: build 9162
Copyright (c) 1996-2004 Serialio.com, All Rights Reserved.
os.name="Mac OS X" os.arch="i386"
java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/libjspMacOSX.jnilib: : Check that native library jspMacOSX is in proper directory
Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: SerOpenPort
at Serialio.SerialPortLocal.SerOpenPort(Native Method)
at Serialio.SerialPortLocal.open(SerialPortLocal.java:284)
at Serialio.SerialPortLocal.<init>(SerialPortLocal.java:254)
at icommand.nxtcomm.NXTComm.open(Unknown Source)
at icommand.nxtcomm.NXTCommand.<clinit>(Unknown Source)
at icommand.platform.nxt.Motor.stop(Unknown Source)
at RadioControl.run(RadioControl.java:59)
at java.lang.Thread.run(Thread.java:613)

Can anyone tell me what I am doing wrong! I put the iCommand.jar, the Serialio.jar, the RXTXcomm.jar and the libjspMacOSX.jnilib in my /Library/Java/Extentions folder and eclipse seems to find the files there, but why do I get this ErrorMessage?

Looking forward to your suggestions and thanx already

Mantz
Mantz
New User
 
Posts: 3
Joined: Tue Oct 09, 2007 1:52 pm

jspMacOSX.jnilib

Postby Mantz » Tue Oct 16, 2007 9:01 am

It's me again...
I am still trying to get this thing running, but it just doesn't work. I am trying to figure out where I can get this "jspMacOSX.jnilib" file. It's impossible to download anywere. Does someone have it, or can someone tell me where I can download it? Maybe iCommand works after inserting this file into my Java-Extentions folder...
Mantz
New User
 
Posts: 3
Joined: Tue Oct 09, 2007 1:52 pm

Postby bbagnall » Sat Oct 20, 2007 6:14 pm

From what I understand, the only communications solution that will work with Mac OSX at the moment is RXTX. Have you installed this and changed your properties file to reflect this?

Wish I could help you more but I'm not a Mac user.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 5 guests

more stuff