0
Offline
Newbie
Karma: 0
Posts: 3
Arduino rocks
|
 |
« on: May 31, 2010, 10:37:22 pm » |
Greetings to everyone.
I apologize for my English, is so limited that I have to use the google translator, I hope you understand my query
A week ago I installed Processing 1.1 but when I run it I get the following error:
[size=10]Exception in thread "main" java.lang.UnsatisfiedLinkError: libawt: libawt.so: cannot open shared object file: No such file or directory at java.lang.Runtime._load(libgcj.so.90) at java.lang.Runtime.loadLibrary(libgcj.so.90) at java.lang.System.loadLibrary(libgcj.so.90) at sun.font.FontManager$1.run(FontManager.java:227) at java.security.AccessController.doPrivileged(libgcj.so.90) at sun.font.FontManager.<clinit>(FontManager.java:223) at java.lang.Class.initializeClass(libgcj.so.90) at com.sun.java.swing.plaf.gtk.PangoFonts.lookupFont(PangoFonts.java:175) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getGTKStyleFactory(GTKLookAndFeel.java:1543) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1507) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1394) at javax.swing.UIManager.setLookAndFeel(libgcj.so.90) at javax.swing.UIManager.setLookAndFeel(libgcj.so.90) at processing.app.linux.Platform.setLookAndFeel(Unknown Source) at processing.app.Base.main(Unknown Source)[/size]
The installation I made in Ubuntu 9.10 and earlier and had installed "sun-java6. What surprises me most is that I have installed Arduino-018 and started well, well, the console takes me a few messages, but then displays the arduino IDE. It allows me to load the pde file, I can compile them, send them to Arduino, but I can not modify any, for it is necessary to use gedit. The messages are displayed on the console to run Arduino are:
[size=10]cannot initialize Look and Feel:com.sun.java.swing.plaf.gtk.GTKLookAndFeel error: java.lang.ClassNotFoundException:com.sun.java.swing.plaf.gtk.GTKLookAndFeel not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:./lib/RXTXcomm.jar,file:./lib/antlr.jar,file:./lib/core.jar,file:./lib/ecj.jar,file:./lib/jna.jar,file:./lib/oro.jar,file:./lib/pde.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
java.lang.ClassNotFoundException:com.sun.java.swing.plaf.gtk.GTKLookAndFeel not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:./lib/RXTXcomm.jar,file:./lib/antlr.jar,file:./lib/core.jar,file:./lib/ecj.jar,file:./lib/jna.jar,file:./lib/oro.jar,file:./lib/pde.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.10) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10) at java.lang.ClassLoader.loadClass(libgcj.so.10) at java.lang.ClassLoader.loadClass(libgcj.so.10) at java.lang.Class.forName(libgcj.so.10) at javax.swing.UIManager.setLookAndFeel(libgcj.so.10) at javax.swing.UIManager.<clinit>(libgcj.so.10) at java.lang.Class.initializeClass(libgcj.so.10) at javax.swing.UIManager.getDefaults(libgcj.so.10) at javax.swing.JFrame.frameInit(libgcj.so.10) at javax.swing.JFrame.<init>(libgcj.so.10) at processing.app.Editor.<init>(Editor.java:147) at processing.app.Base.handleOpen(Base.java:709) at processing.app.Base.handleOpen(Base.java:674) at processing.app.Base.handleNew(Base.java:571) at processing.app.Base.<init>(Base.java:311) at processing.app.Base.main(Base.java:200) falling back to Metal Look and Feel Experimental: JNI_OnLoad called. Experimental: JNI_OnLoad called. Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 Experimental: JNI_OnLoad called.[/size]
Could anyone help me solve the problem of implementation of Processing?
Thank you for your attention.
Vicente.
|