Hi,
I have installed tinyos 2.x.I am working on windows (telosb). Any
application with java doesn't build. There was this same issue in the
mailing list, I tried everything suggested by Phil , still doesn't
work.
$ java net.tinyos.tools.Listen
Exception in thread "main" java.lang.NoClassDefFoundError :
net/tinyos/tools/Listen
I have set my environment variables correctly.
nesc version is 1.2.7b.
$ tos-install-jni
Installing Java JNI code in /cygdrive/c/Program Files/Java/jdk1.5.0_06/jre/bin .
..
done.
$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
When i try to do a 'make' in support/sdk/java I get a lot of
errors,few of them are
8 errors
make[3]: *** [Listen.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/tools'
make[3]: Entering directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/util'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/util
javac PrintStreamMessenger.java
PrintStreamMessenger.java:35: cannot find symbol
symbol: class Messenger
public class PrintStreamMessenger implements Messenger {
^
1 error
make[3]: *** [PrintStreamMessenger.class] Error 1
make[3]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net/tinyos/util'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/opt/tinyos-2.x /support/sdk/java/net/tinyos'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/opt/tinyos-2.x/support/sdk/java/net'
make: *** [subdirs] Error 2
Is there something I am missing?Any suggestions.
Regards,
Arun
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help