I have installed Route Converter on my Linux machine, running Ubuntu
"Jaunty Jackalope":
trinity@niobe:~/RouteConverter$ uname -a
Linux niobe 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
i686 GNU/Linux
And Java 6:
trinity@niobe:~/RouteConverter$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)
OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)
Initially, I got the following error when launching the application:
trinity@niobe:~/RouteConverter$ java -jar RouteConverterLinux.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:1666)
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:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
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 java.awt.Dimension.<clinit>(Dimension.java:87)
at slash.navigation.converter.gui.RouteConverter.<clinit>(Unknown Source)
Could not find the main class:
slash.navigation.converter.gui.RouteConverter5. Program will exit.
I found the library, created a sym link to it in the directory where Route
Converter expected to find it, and now get this error:
trinity@niobe:~/RouteConverter$ java -jar RouteConverterLinux.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError:
java.awt.Insets.initIDs()V
at java.awt.Insets.initIDs(Native Method)
at java.awt.Insets.<clinit>(Insets.java:91)
at
javax.swing.plaf.synth.SynthLookAndFeel.<clinit>(SynthLookAndFeel.java:70)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1873)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:588)
at slash.navigation.gui.Constants.setLookAndFeel(Unknown Source)
at slash.navigation.gui.Application.launch(Unknown Source)
at
slash.navigation.converter.gui.RouteConverter5.main(RouteConverter5.java:60)
Any suggestions how to proceed?
EDITED TO ADD:
The commandline version functions correctly, only the GUI gives the error.
"Jaunty Jackalope":
trinity@niobe:~/RouteConverter$ uname -a
Linux niobe 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
i686 GNU/Linux
And Java 6:
trinity@niobe:~/RouteConverter$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)
OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)
Initially, I got the following error when launching the application:
trinity@niobe:~/RouteConverter$ java -jar RouteConverterLinux.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:1666)
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:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
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 java.awt.Dimension.<clinit>(Dimension.java:87)
at slash.navigation.converter.gui.RouteConverter.<clinit>(Unknown Source)
Could not find the main class:
slash.navigation.converter.gui.RouteConverter5. Program will exit.
I found the library, created a sym link to it in the directory where Route
Converter expected to find it, and now get this error:
trinity@niobe:~/RouteConverter$ java -jar RouteConverterLinux.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError:
java.awt.Insets.initIDs()V
at java.awt.Insets.initIDs(Native Method)
at java.awt.Insets.<clinit>(Insets.java:91)
at
javax.swing.plaf.synth.SynthLookAndFeel.<clinit>(SynthLookAndFeel.java:70)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1873)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:588)
at slash.navigation.gui.Constants.setLookAndFeel(Unknown Source)
at slash.navigation.gui.Application.launch(Unknown Source)
at
slash.navigation.converter.gui.RouteConverter5.main(RouteConverter5.java:60)
Any suggestions how to proceed?
EDITED TO ADD:
The commandline version functions correctly, only the GUI gives the error.