... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with 64bit Linux
#1
I am having some trouble launching RouteConverter.

I see there is a thread related to this but its in German. :-(

Here is my configuration:

Java 1.6.0_20
RouteConverter 1.33
Ubuntu 9.10 (64bit AMD)

When I launch RouteConverter from the command line, this is what I'm seeing:

$ java -jar RouteConverterLinux.jar
NativeSwing[1]: Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
NativeSwing[1]: at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
NativeSwing[1]: at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
NativeSwing[1]: at java.lang.Class.forName0(Native Method)
NativeSwing[1]: at java.lang.Class.forName(Class.java:169)
NativeSwing[1]: at org.eclipse.swt.graphics.Device.<clinit>(Unknown Source)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.runNativeSide(NativeInterface.java:995)
NativeSwing[1]: at chrriis.dj.nativeswing.swtimpl.NativeInterface.main(NativeInterface.java:1096)
NativeSwing[2]: Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
NativeSwing[2]: at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
NativeSwing[2]: at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
NativeSwing[2]: at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
NativeSwing[2]: at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
NativeSwing[2]: at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
NativeSwing[2]: at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
NativeSwing[2]: at java.lang.Class.forName0(Native Method)
NativeSwing[2]: at java.lang.Class.forName(Class.java:169)
NativeSwing[2]: at org.eclipse.swt.graphics.Device.<clinit>(Unknown Source)
NativeSwing[2]: at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.runNativeSide(NativeInterface.java:995)
NativeSwing[2]: at chrriis.dj.nativeswing.swtimpl.NativeInterface.main(NativeInterface.java:1096)
NativeSwing[3]: Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
NativeSwing[3]: at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
NativeSwing[3]: at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
NativeSwing[3]: at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
NativeSwing[3]: at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
NativeSwing[3]: at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
NativeSwing[3]: at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
NativeSwing[3]: at java.lang.Class.forName0(Native Method)
NativeSwing[3]: at java.lang.Class.forName(Class.java:169)
NativeSwing[3]: at org.eclipse.swt.graphics.Device.<clinit>(Unknown Source)
NativeSwing[3]: at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.runNativeSide(NativeInterface.java:995)
NativeSwing[3]: at chrriis.dj.nativeswing.swtimpl.NativeInterface.main(NativeInterface.java:1096)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at slash.navigation.gui.Application.invokeNativeInterfaceMethod(Application.java:85)
at slash.navigation.gui.Application.openNativeInterface(Application.java:94)
at slash.navigation.gui.Application.launch(Application.java:103)
at slash.navigation.converter.gui.RouteConverter6.main(RouteConverter6.java:48)
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at chrriis.dj.nativeswing.swtimpl.OutProcessSocketsMessagingInterface.openChannel(OutProcessSocketsMessagingInterface.java:64)
at chrriis.dj.nativeswing.swtimpl.MessagingInterface.initialize(MessagingInterface.java:51)
at chrriis.dj.nativeswing.swtimpl.OutProcessSocketsMessagingInterface.<init>(OutProcessSocketsMessagingInterface.java:29)
at chrriis.dj.nativeswing.swtimpl.OutProcessSocketsMessagingInterface$SwingOutProcessSocketsMessagingInterface.<init>(OutProcessSocketsMessagingInterface.java:151)
at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.createOutProcessMessagingInterface(NativeInterface.java:830)
at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.createOutProcessCommunicationChannel(NativeInterface.java:540)
at chrriis.dj.nativeswing.swtimpl.NativeInterface.open(NativeInterface.java:244)
... 8 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2266)
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
at chrriis.dj.nativeswing.swtimpl.OutProcessSocketsMessagingInterface.openChannel(OutProcessSocketsMessagingInterface.java:62)
... 14 more
Logging to /tmp/RouteConverter.log

Any thoughts?
I downloaded the 64bit linux prerelease and it seems to work a lot better.

I should've looked around a bit more.
Reply
#2
(19.05.2010, 00:53)ColonelPackage Wrote: I see there is a thread related to this but its in German. :-(

Hi ColonelPackage,

the map view on Linux and Mac OS X is one of these problems that d
o not go away....

(19.05.2010, 00:53)ColonelPackage Wrote: NativeSwing[1]: Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

That error message is very clear, isn't it?

(19.05.2010, 00:53)ColonelPackage Wrote: Any thoughts?

Download the 64bit Linux prerelease.

(19.05.2010, 00:53)ColonelPackage Wrote: I downloaded the 64bit linux prerelease and it seems to work a lot better.

I should've looked around a bit more.

Does it display the map in full size? Or does it show the problems described here?
--
Christian
Reply
#3
(19.05.2010, 07:52)routeconverter Wrote: Does it display the map in full size? Or does it show the problems described here?

It displays a small strip of the map across the top of the map window and thats it. Is that the same problem?
Reply
#4
(19.05.2010, 15:17)ColonelPackage Wrote: It displays a small strip of the map across the top of the map window and thats it. Is that the same problem?

Yes, it typically means that the Webbrowser cannot be accessed through JavaScript by the Java-Process. Any debugging help is appreciated.
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)