Install Icommand on Mac

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

Moderators: 99jonathan, roger, imaqine

Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 3:42 pm

Hi,
i´m totally new in proramming Java. I have search the whole internet but i havent found any tutorial how to install icommand on my mac. I´m reading the Book "Building Robots with Java Brains" its the best NXT Book ever. And now i must install Icommand and i have no ideal how i shoud do this!
Pleas help me!

FL0O1

P.S: Sorry for my bad english! ;P
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 4:28 pm

The book is too old. iCommand is deprecated and discontinued. Use pccomms instead. Take at the samples in the pcsamples folder.
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 4:37 pm

Thank you for the answer. But one question: is it easy to install on Mac? Can I use the same code snippets frome the book
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 4:44 pm

If you install leJOS 0.9.1 (as suggested in the official tutorial on the leJOS webpage), pccomm is already installed. I believe, you will have to rewrite many of the code snippts. But I'm not familiar with iCommand.
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 5:33 pm

When i´m trying to import pccomm eclipse dont know it. I have follow this instruduction: http://lejos.sourceforge.net/nxt/nxj/tu ... clipse.htm the tut is for windows but it also worked for my mac.
Is my import line false?
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 5:39 pm

The tutorial is not only for Windows. The screenshots have been made on Windows. But using Eclipse is the same on Windows and OSX.
Please post a screenshot showing the package explorer and an open editor containing your source containing the import.
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 6:03 pm

Sorry but how can i upload a screenshot? :oops:
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 6:10 pm

FL0O1 wrote:Sorry but how can i upload a screenshot? :oops:

Use one of those free imagine hosters where you can upload single images with your browser. They usually also provide the phpBB code to imbed the image into your posting in this forum.
I believe ImageShack might work.
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 6:21 pm

Image
There is my screenshot
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 6:28 pm

I'm almost certain you created a leJOS NXT project. Also, the package pccomm does not exist (hence your import is wrong).
Please follow the steps under "Creating your own PC project" on this page: http://lejos.sourceforge.net/nxt/nxj/tu ... pse.htm#8b
The documentation of packages and classes available in a leJOS PC project is available here: http://lejos.sourceforge.net/nxt/pc/api/index.html
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 6:35 pm

What is the different between NXT and PC Project?
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 6:37 pm

And by the way, do you know wheter you can install JMF on a mac?
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 6:37 pm

FL0O1 wrote:What is the different between NXT and PC Project?

leJOS is actually designed to write Java programs that run on the NXT itself (NXT project).
Another aspect of leJOS is an API which can be used for Java programms running on the PC for remote controlling a NXT via USB or Bluetooth (PC project).
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby skoehler » Thu Jun 07, 2012 6:37 pm

FL0O1 wrote:And by the way, do you know wheter you can install JMF on a mac?

I don't even know what JMF is.
skoehler
leJOS Team Member
 
Posts: 1401
Joined: Thu Oct 30, 2008 4:54 pm

Re: Install Icommand on Mac

Postby FL0O1 » Thu Jun 07, 2012 6:56 pm

Thanks for the answer!
JMF is the Java Media Framework which allows you to import webcam streaming etc. .
FL0O1
New User
 
Posts: 9
Joined: Thu Jun 07, 2012 3:28 pm


Return to NXJ Software

Who is online

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

more stuff