Installation problem under Linux
in
Integration and Hardware
•
3 years ago
HI!
I'm trying to install the latest version of Processing (1.2.1) under Linux (EasyPeasy, based on Ubuntu), along with JDK 1.6. I downloaded the tar file and extracted the contents, but when I try to start Processing I get the error message below. I added an "echo" command to the start-up script to display the value of CLASSPATH just before starting it up (ie, the last line in the script):
/usr/bin/processing-1.2.1/java/lib/rt.jar:/usr/bin/processing-1.2.1/java/lib/tools.jar:/usr/bin/processing-1.2.1/lib/ant-launcher.jar:/usr/bin/processing-1.2.1/lib/ant.jar:/usr/bin/processing-1.2.1/lib/antlr.jar:/usr/bin/processing-1.2.1/lib/core.jar:/usr/bin/processing-1.2.1/lib/ecj.jar:/usr/bin/processing-1.2.1/lib/jna.jar:/usr/bin/processing-1.2.1/lib/pde.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1614)
at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
at processing.app.Base.<clinit>(Base.java:406)
Could not find the main class: processing.app.Base. Program will exit.
Am I using an unsupported version of Java, or is Processing not installed properly, or is something missing from CLASSPATH? I'm not sure where to find 'processing.app.Base', which seems to be the cause of the problem, according to the message.
Thanks.
I'm trying to install the latest version of Processing (1.2.1) under Linux (EasyPeasy, based on Ubuntu), along with JDK 1.6. I downloaded the tar file and extracted the contents, but when I try to start Processing I get the error message below. I added an "echo" command to the start-up script to display the value of CLASSPATH just before starting it up (ie, the last line in the script):
/usr/bin/processing-1.2.1/java/lib/rt.jar:/usr/bin/processing-1.2.1/java/lib/tools.jar:/usr/bin/processing-1.2.1/lib/ant-launcher.jar:/usr/bin/processing-1.2.1/lib/ant.jar:/usr/bin/processing-1.2.1/lib/antlr.jar:/usr/bin/processing-1.2.1/lib/core.jar:/usr/bin/processing-1.2.1/lib/ecj.jar:/usr/bin/processing-1.2.1/lib/jna.jar:/usr/bin/processing-1.2.1/lib/pde.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1614)
at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
at processing.app.Base.<clinit>(Base.java:406)
Could not find the main class: processing.app.Base. Program will exit.
Am I using an unsupported version of Java, or is Processing not installed properly, or is something missing from CLASSPATH? I'm not sure where to find 'processing.app.Base', which seems to be the cause of the problem, according to the message.
Thanks.
3