hi,
I need help to run Tinyviz:
 
I'm getting this error when i try to apply make in the  /opt/tinyos-1.x/tools/java/net/tinyos/sim
 folder:
1 error
make: *** [../sf/old/nido/NidoSerialDataSource.class] Error 1
 
 
 
Also when i run tinyviz :
 
---------------------------------------------
Starting SimDriver...
Simulation random seed 1112359752
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
        at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
        at net.tinyos.sim.SimCommands.<init>(SimCommands.java:64)
        at net.tinyos.sim.SimDriver.<init>(SimDriver.java:244)
        at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Loading simulator plugins...
Creating TinyViz GUI...

Welcome to Tython. Type 'quit' to exit.
ESC on a line by itself will pause/resume the simulator.
>>> AUTORUN: Initializing simulation.
AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy -seed=1112359752 -nodbgout 5
AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess: build\pc\main.exe -gui -r=lossy -seed=1112359752 -nodbgout
 5 error=2
java.io.IOException: CreateProcess: build\pc\main.exe -gui -r=lossy -seed=1112359752 -nodbgout 5 error=2
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:344)
        at java.lang.Thread.run(Unknown Source)
Goodbye!
AUTORUN: Stopping simulation.
-----------------------------------------------------------
 
 
Finally, when do a make in /opt/tinyos-1.x/tools/java/net/tinyos/sim i get this error
-------------------------------------------------------------------------------------------
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
javac ../sf/old/nido/NidoSerialDataSource.java
../sf/old/nido/NidoSerialDataSource.java:41: cannot access net.tinyos.sf.old.DataSource
bad class file: c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\sf\old\DataSource.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public class NidoSerialDataSource implements DataSource {
                                             ^
1 error
make: *** [../sf/old/nido/NidoSerialDataSource.class] Error 1
--------------------------------------------------------------------------
 
thanks
regards




MSN Hotmail sur i-modeĀ™ : dialoguez sur votre mobile comme sur votre PC avec Bouygues TELECOM !
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to