Try using the real full path in your classpath, e.g.,
C:/cygwin/opt/... or whatever it is.
Also make sure you have compiled all the java tools
such that there is a file:
tinyos-1.x/tools/java/net/tinyos/tools/ListenRaw.class
Alternatively, from the tools/java directory try:
java -classpath . net.tinyos.tools.ListenRaw
For more info, look at the java classpath doc.
It actually makes sense. But only after you understand it.
And what do you mean that
java net.tinyos.oscope.oscilloscope
has no response? It doesn't work, or it does the same not found thing?
MS
Zhao Stephen wrote:
error is still.
$ java -classpath /opt/tinyos-1.x/tools/java net.tinyos.tools.ListenRaw
Exception in thread "main" java.lang.NoClassDefFoundError:
net/tinyos/tools/List
enRaw
2006/11/16, Marco Antonio Lopez Trinidad <[EMAIL PROTECTED]>:
Hi,
have you tried?
java -classpath /opt/tinyos-1.x/tools/java net.tinyos.tools.ListenRaw
ciao,
--marco.
Quoting Zhao Stephen <[EMAIL PROTECTED]>:
> When I perform "java net.tinyos.toos.listen", the error is :
>
************************************************************************************************
> $ java net.tinyos.tools.listen
> Exception in thread "main" java.lang.NoClassDefFoundError:
> net/tinyos/tools/list
> en (wrong name: net/tinyos/tools/Listen)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:604)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
> 3)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access+100(URLClassLoader.java:56)
> at java.net.URLClassLoader+1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>
************************************************************************************************
>
> My java version is 1.5. I don t know what the matter is. Thanks.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help