Make sure you have the TOS java tools class tree or jar in your CLASSPATH.
I'd tell you more but it's all different for T1 and T2 and you didn't
say which version you are using (actually I don't see RadioCountToLeds
in my T1 apps, so probably you have T2 in which case I can't help anyway).
MS


CIS Project - S. Khan wrote:
> I am unable to "make micaz sim" with RadioCountToLeds but can do so 
> with Blink. I think this has to do with my Java set-up which is in 
> c:\tinyos\jdk1.6.0_07.
>  
> Here are my settings:
>  
> type java
> /cygdrive/c/tinyos/jdk1.6.0_07/bin/java
>  
> type javac
> /cygdrive/c/tinyos/jdk1.6.0_07/bin/javac
>  
> tos-locate-jre --java
> /cygdrive/c/tinyos/jdk1.6.0_07/bin
>  
> tos-locate-jre --javac
> /cygdrive/c/tinyos/jdk1.6.0_07/bin
>  
> tos-locate-jre --jni
> /cygdrive/c/tinyos/jdk1.6.0_07/jre/bin
>  
> tos-install-jni
> Installating 32-bit Java JNI code in
> /cygdrive/c/tinyos/jdk1.6.0_07/jre/bin ...
> done
>  
> cd /opt/tinyos-2.x/apps/RadioCountToLeds
> $ make micaz sim
> mkdir -p build/micaz
> javac RadioCountMsg.java
> .....bunch of errors including RadioCountMsg.java : 7 : package 
> net.tinyos.message does not exist
>  
> cd opt/tinyos-2.x/support/sdk/java
> make
> .....string of errors
>  
> Will appreciate any response.
>  
> SK
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to