Right, thought I would make a list of "do's" and "dont's" now that I got the Spots running under Vista, maybe people can add to this post so we get as much info for new people as possible...
0. Do NOT connect your SunSPOT until step 8.
1. Install Java & Netbeans
2. Turn off UAC to allow SDK installer to work properly: Start -> Control Panel -> User Accounts -> User Accounts -> Turn User Account Control on or off , reboot. (you can turn it back on if required after the sdk is installed)
3. Download and install SDK through SPOT Manager.
4. Check SunSPOT.inf in your SDK directory. As posted by kersing, make sure it contains the line "include=mdmcpq.inf" so it looks as follows:
5. If you are not sure you have Ant, download it from http://ant.apache.org/ and install it (unzip it to a directory of your choice, say C:/ant).
6. Check and Set all the environment variables, to do this, Start -> Control Panel -> Enter "env" in the search box (no quotes) -> click "Edit the system environment variables". Click "Environment Variables, now in the upper section (user variables):
New -> name: ANT_HOME, value: Path to your ant installation, say C:/ant
New -> name: JAVA_HOME, value: Path to your java installation, say C:/Program Files/Java/jdk1.6.0_03
EDIT the path variable so it includes the path to the bin directory of your Ant installation (for example: C:/SSH Secure Shell;C:/ant/bin) (use ; to separate)
7. reboot Vista - for some reason not all env. variables always get updated otherwise.
8. Plug in your first Spot, let windows look for the drivers, if it cannot find them, make sure SunSPOT.inf is in the windows/inf directory, if it is not, copy it there from your sdk directory.
Choose "install anyway" when being queried about the fact that the drivers were not signed.
9. SPOTs should now work from SPOTManager, make sure you update them and install the plugin for Netbeans (click the coffeebean).
www.sunspotworld.com
0. Do NOT connect your SunSPOT until step 8.
1. Install Java & Netbeans
2. Turn off UAC to allow SDK installer to work properly: Start -> Control Panel -> User Accounts -> User Accounts -> Turn User Account Control on or off , reboot. (you can turn it back on if required after the sdk is installed)
3. Download and install SDK through SPOT Manager.
4. Check SunSPOT.inf in your SDK directory. As posted by kersing, make sure it contains the line "include=mdmcpq.inf" so it looks as follows:
Code: |
[SpotInstall] include=mdmcpq.inf CopyFiles=SpotCopyFiles AddReg=SpotAddReg |
5. If you are not sure you have Ant, download it from http://ant.apache.org/ and install it (unzip it to a directory of your choice, say C:/ant).
6. Check and Set all the environment variables, to do this, Start -> Control Panel -> Enter "env" in the search box (no quotes) -> click "Edit the system environment variables". Click "Environment Variables, now in the upper section (user variables):
New -> name: ANT_HOME, value: Path to your ant installation, say C:/ant
New -> name: JAVA_HOME, value: Path to your java installation, say C:/Program Files/Java/jdk1.6.0_03
EDIT the path variable so it includes the path to the bin directory of your Ant installation (for example: C:/SSH Secure Shell;C:/ant/bin) (use ; to separate)
7. reboot Vista - for some reason not all env. variables always get updated otherwise.
8. Plug in your first Spot, let windows look for the drivers, if it cannot find them, make sure SunSPOT.inf is in the windows/inf directory, if it is not, copy it there from your sdk directory.
Choose "install anyway" when being queried about the fact that the drivers were not signed.
9. SPOTs should now work from SPOTManager, make sure you update them and install the plugin for Netbeans (click the coffeebean).
www.sunspotworld.com