mercredi 11 février 2009

installing and using TOSSIM

In order to compile the tools located in /opt/tinyos-1.x/tools/java/net/tinyos/sim
it's necessary to install the javax.comm package (also known as the Java(tm) Communication API )available in
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/DownloadSingleSoftware-Start?ProductID=giPACUFBSTMAAAEYEnU5AXjS&LICENSE-aOPACUFBJXMAAAEYG3U5AXjS=on&s_eVar4=cds&VVA_00000000005000073514=Linux&VVA_00000000005000073513=English
Download the package
Unzip it wherever you want (eg in the Desktop)
copy it to yout jre library extensions directory
$sudo cp comm.jar /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/ext/
And to your tinyos java jars directory (we never know)
$ cp comm.jar /opt/tinyos-1.x/tools/java/jars/

Now you can compile the sim tools!!

go to /opt/tinyos-1.x/tools/java

$ cd /opt/tinyos-1.x/tools/java
$ make
!!! OK!!
now you can go ahead with your tinyos Simulation tool

Aucun commentaire:

Enregistrer un commentaire