Well, I got the SPOTs working on my system. It was a bit of a pain, but it worked.
- Uninstall ALL of java, jdk, netbeans, and remove user’s SunSPOT directory.
- Totally remove /usr/java /usr/lib/ /usr/lib/java-1.4.0 /usr/lib/java-1.4.1 /usr/lib/java-1.4.2 /usr/lib/java-1.5.0 /usr/lib/java-ext /usr/lib/jvm /usr/lib/jvm-exports /usr/lib/jvm-private
- Totally remove your .netbeans
- Install the jdk6
- Install netbeans6.1
- Login as your normal user, run Netbeans. Install the SunSPOT plugins from Bruno Ghisi’s blog - http://weblogs.java.net/blog/brunogh/archive/2008/04/starting_with_s.html
- Install ant
- Symlink /usr/local/netbeans to /usr/local/netbeans-6.1
- Here, ant -version failed for me. I had to run ant —execdebug many many times and do a *lot* of symlinking.
- Install SunSPOT sdk through SPOTManager.
- To install demos, under “Preferences” select “Beta Update Center”, change Network Timeout, go back to SDKs and install Purple demos.
- cd into \~/SunSPOT/sdk, ln -s ../Demos Demos
- Go back to NetBeans (exit SPOTManager) and open the TelemetryDemo-onSpot.
- Now it WORKS!
Comments
comments powered by Disqus