Hi,
I'm trying to run the TestTinyViz application on the TinyViz GUI, from the
folder /opt/tinyos-1.x/apps/testtinyviz, with the command
tinyviz -run build/pc/main.exe 30
I've added /opt/tinyos-1.x/tools/java/net/tinyos/sim (the location of the
tinyviz script) to my PATH, and the location of tinyviz.jar (C:\Program
Files\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\sim\tinyviz.jar) in
my CLASSPATH, so that the script runs, but it gives the following error:
Exception in thread "main" java.util.zip.ZipException: The system cannot
find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)
But when I run the command
java -jar tinyviz.jar
from within /opt/tinyos-1.x/tools/java/net/tinyos/sim, the TinyViz window
opens, of course without any running application, but with a message
'Connection to simulator failed'.
I Googled the error and it seemed to me that this problem is not exactly
related to TinyOS/TOSSIM, rather related to
unjaring/unzipping a jar file...I'm not sure, although....Can it happen
because I have a space in the name of one of the folders ("Program Files")
in my CLASSPATH?
Can anyone suggest how I can run TestTinyViz (or some other application)
successfully on TinyViz?
Thanks in advance
Bibudh
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help