Anybody who successfully uses icommand on Mac OS X?

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

Moderators: 99jonathan, roger, imaqine

Anybody who successfully uses icommand on Mac OS X?

Postby cinderella » Mon Jun 04, 2007 3:04 pm

Hi,

I am trying to make icommand work on my MacBook Pro. However, I am stuck. I did install rxtx, I created the directory for the spool files, and I set up the serial port over bluetooth. But when I run a sample, I get:

Code: Select all
PacMook-Bro:~/Desktop/rxtx_icommand/icommand-0.5/samples ulli$ java  -cp ../icommand.jar:. Melody
Looking for 'icommand.properties' in working dir: /Users/ulli/Desktop/rxtx_icommand/icommand-0.5/samples
NXTCOMM = /dev/tty.NXT
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
RXTX Warning:  Removing stale lock file. /var/lock/LK.003.010.014
Error while connecting NXTCommand() constructor
gnu.io.PortInUseException: Unknown Application
        at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)
        at icommand.nxtcomm.NXTComm.open(Unknown Source)
        at icommand.nxtcomm.NXTCommand.<clinit>(Unknown Source)
        at icommand.platform.nxt.FileSystem.upload(Unknown Source)
        at Melody.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
        at icommand.nxtcomm.NXTComm.sendData(Unknown Source)
        at icommand.nxtcomm.NXTCommand.openWrite(Unknown Source)
        at icommand.platform.nxt.FileSystem.upload(Unknown Source)
        at Melody.main(Unknown Source)
PacMook-Bro:~/Desktop/rxtx_icommand/icommand-0.5/samples ulli$


Additionally, a dialog opens with the following text:

A Bluetooth serial failure has occurred
Failed to open an RFCOMM serial channel.
Check if authentication needs to be enabled in your device

I can succesfully browse my NXT using NXTBrowser.

Can somebody who successfully used icommand on Mac OS X post step-by-step instructions or any other hints that might help me?

Thanks!

Ulli
cinderella
New User
 
Posts: 3
Joined: Mon Jun 04, 2007 2:57 pm

Return to NXJ Software

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests

cron
more stuff