Installing SunSPOT SDK under Vista - Step-by-Step

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:
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值