More Ubuntu, TinyOS-2.x, and Java


Last time I checked, the TinyOS 2.1 tools want Java 5 and in the instructions I posted here I wrote about removing other Java versions that were giving me trouble with the install. I figured at the time that removing Java 6 might come back to bite me and it did today, when another app I tried to install blew up on me. It needed Java 6. I found a way to switch between Java runtime versions using this post and this post, by running:

$sudo update-alternatives --config java

To change the java complier (javac), run:

$sudo update-alternatives --config javac

Now I can have multiple Java versions coexisting on the same machine (I hope).

, , , , , , ,

  1. No comments yet.
(will not be published)