Hi: I download XubunTOS 7.04 + TinyOS 2.0.2. I was trying to run the tinyviz under tos1 environment, but has some java errorr: Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70) at java.awt.Font.tk(libgcj.so.70) at java.awt.Font.getPeerFromToolkit(libgcj.so.70) at java.awt.Font.<init>(libgcj.so.70) at net.tinyos.sim.TinyViz.<clinit>(TinyViz.java:58) at java.lang.Class.initializeClass(libgcj.so.70) at net.tinyos.sim.SimDriver.<init>(SimDriver.java:282) at net.tinyos.sim.SimDriver.main(SimDriver.java:539) Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory at java.lang.Runtime._load(libgcj.so.70) at java.lang.Runtime.loadLibrary(libgcj.so.70) at java.lang.System.loadLibrary(libgcj.so.70) at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70) ...7 more
Do you guys know how to solve this problem? Thanks Chen
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help