How to install SunSPOT on a Mac

By Panos

In JavaOne this year I was lucky enough to get my hands on a SunSPOT (thank you Sun). SunSPOTs are small programmable devices that have a JVM installed and can be programmed in Java. Installing SunSPOTs on Mac (I am running Tiger) it’s pretty straight-forward. The step by step instructions are

  • Install the XCode tools if they are not installed already. This is a very basic step since if you don’t install them the SunSPOT installer will most probably hang with a “Relocating updated Ant” message.
  • Run the SunSPOTSDKInstaller.jar file from the CD that comes with the SunSPOT box.
  • If you get the following error message “UUCP Group Membership for <username>: Failed!” you can try the following commands:
    • sudo mkdir /var/spool/uucp
    • sudo chmod 775 /var/spool/uucp/
      (these two commands seemed to do the trick for me)
  • Then re-run the SunSPOTSDKInstaller.jar file.

That’s it, the SunSPOT software should install now.

One Response to “How to install SunSPOT on a Mac”

  1. David Says:

    Actually, the *easiest* way to install on a Mac is to skip the CD altogether and just use http://www.sunspotworld.com/spotmanager/ which can now do entire installs.

Leave a Reply