... the user friendly GPS tool


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RouteConverter and Mac OS X
#27
Hi, my first post here. I'm on OSX 10.5.8 and just installed the latest 1.6.0_20 java update for 10.5.8 via <http://muchsoft.com/java/macosxjavaversions.html>.
I also downloaded both the RouteconverterMac.zip and the Routeconverter.jar from your downloads page (so not the prereleases as I assume they are now older than the one on the downloads page).
I activated the the 1.6 JDK via the Java preferences.

In the terminal "java -version" gave
Code:
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-9M3165)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)

The .app doesn't run at all. I opened it from the command line to get stderr/stdout in the terminal with
Code:
open RouteConverter.app
and got
Code:
LSOpenFromURLSpec() failed with error -10810 for the file /Users/harryvanderwolf/Documents/Navigon/RouteConverter/RouteConverter.app
This normally means that the internal structure from the bundle is not correct.

Then I started the jar with
Code:
java -jar RouteConverter.jar
and got
Code:
java -jar RouteConverter.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
The jar works fine apart from the map screen.
It starts with an error "Can't open <blah blah> due to unknow file type" (note:translated back to english from dutch) for the source. This is due to the fact that the application somehow tries to open a folder instead of a file. This only happens when no gps file hasn't been opened. Once a gps file has been opened this error doesn't return.

And then I started the jar with
Code:
java -XstartOnFirstThread -jar RouteConverter.jar
which gave the following error
Code:
2010-05-27 19:00:09.576 java[16310:c0b] [Java CocoaComponent compatibility mode]: Enabled
2010-05-27 19:00:09.613 java[16310:c0b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
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.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
    at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at org.eclipse.swt.graphics.Device.<clinit>(Unknown Source)
    at chrriis.dj.nativeswing.swtimpl.NativeInterface$InProcess.initialize(NativeInterface.java:425)
    at chrriis.dj.nativeswing.swtimpl.NativeInterface$InProcess.access$0(NativeInterface.java:424)
    at chrriis.dj.nativeswing.swtimpl.NativeInterface.initialize(NativeInterface.java:221)
    at chrriis.dj.nativeswing.swtimpl.NativeInterface.open(NativeInterface.java:239)
    ... 8 more
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.runNativeInterfaceEventPump(Application.java:98)
    at slash.navigation.gui.Application.launch(Application.java:123)
    at slash.navigation.converter.gui.RouteConverter6.main(RouteConverter6.java:48)
Caused by: java.lang.IllegalStateException: Cannot run the event pump when the interface is not initialized!
    at chrriis.dj.nativeswing.swtimpl.NativeInterface.runEventPump(NativeInterface.java:378)
    ... 8 more
Logging to /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/RouteConverter.log
Now this "-XstartOnFirstThread" is the worst option you can use. The jar hangs completely.
When using "java -XstartOnFirstThread -jar RouteConverter.jar" I can cill it by Ctrl-C from the command line. Whne using "java -XstartOnFirstThread -jar RouteConverter.jar &", which I normally do, I had to kill the process from the command line.

Do you have more options for me to test?
I built another mac bundle using Platypus (I'm the OSX bundle maintainer for Avidemux. I also use Platypus there), you can find it here: <http://panorama.dyndns.org/tmp/RouteConverter.app.zip/RouteConverter.app.zip>.
It needs some improvements and an icon but that's easy to fix.
I simply zipped it for your convenience. The normal way of distribution on OSX would be a .dmg.
Off course it only runs when java 6 is on your system.
Reply


Messages In This Thread
RouteConverter and Mac OS X - by CalvinFold - 26.03.2010, 16:11
RE: RouteConverter and Mac OS X - by d101au - 05.04.2010, 22:48
RE: RouteConverter and Mac OS X - by ioeioe - 10.04.2010, 18:53
RE: RouteConverter and Mac OS X - by ioeioe - 10.04.2010, 19:27
RE: RouteConverter and Mac OS X - by ioeioe - 11.04.2010, 22:43
RE: RouteConverter and Mac OS X - by ioeioe - 12.04.2010, 11:39
RE: RouteConverter and Mac OS X - by hvdwolf - 27.05.2010, 18:23
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 07:03
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 10:00
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 18:48
RE: RouteConverter and Mac OS X - by hvdwolf - 29.05.2010, 09:33
RE: RouteConverter and Mac OS X - by hvdwolf - 29.05.2010, 11:44
RE: RouteConverter and Mac OS X - by hvdwolf - 03.06.2010, 19:22
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 13:02
RE: RouteConverter and Mac OS X - by hvdwolf - 29.05.2010, 14:18
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 10:35
RE: RouteConverter and Mac OS X - by hvdwolf - 30.05.2010, 10:43
RE: RouteConverter and Mac OS X - by hvdwolf - 02.06.2010, 21:46
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 16:24
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 18:56
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 20:12
RE: RouteConverter and Mac OS X - by hvdwolf - 04.06.2010, 16:05
RE: RouteConverter and Mac OS X - by hvdwolf - 04.06.2010, 19:33
RE: RouteConverter and Mac OS X - by hvdwolf - 16.06.2010, 17:18
RE: RouteConverter and Mac OS X - by hvdwolf - 16.06.2010, 21:42
RE: RouteConverter and Mac OS X - by hvdwolf - 18.06.2010, 18:39
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 07:44
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 07:55
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 09:16
RE: RouteConverter and Mac OS X - by hvdwolf - 20.06.2010, 17:16
RE: RouteConverter and Mac OS X - by hvdwolf - 01.07.2010, 17:42
RE: RouteConverter and Mac OS X - by hvdwolf - 08.08.2010, 15:42
RE: RouteConverter and Mac OS X - by hvdwolf - 09.08.2010, 09:27
RE: RouteConverter and Mac OS X - by hvdwolf - 09.08.2010, 18:49
RE: RouteConverter and Mac OS X - by hvdwolf - 16.08.2010, 09:47
RE: RouteConverter and Mac OS X - by hvdwolf - 20.08.2010, 09:55
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 14:14
RE: RouteConverter and Mac OS X - by dfiler - 29.06.2010, 01:17
RE: RouteConverter and Mac OS X - by hvdwolf - 03.07.2010, 09:33
RE: RouteConverter and Mac OS X - by hvdwolf - 03.07.2010, 17:30
RE: RouteConverter and Mac OS X - by hvdwolf - 19.07.2010, 06:31
RE: RouteConverter and Mac OS X - by rctdigo8 - 05.08.2010, 12:41
RE: RouteConverter and Mac OS X - by rctdigo8 - 05.08.2010, 22:56
RE: RouteConverter and Mac OS X - by hvdwolf - 06.08.2010, 15:50
RE: RouteConverter and Mac OS X - by rctdigo8 - 06.08.2010, 21:36
RE: RouteConverter and Mac OS X - by hvdwolf - 06.08.2010, 22:34
RE: RouteConverter and Mac OS X - by asp - 23.08.2010, 09:24
RE: RouteConverter and Mac OS X - by asp - 23.08.2010, 09:53
RE: RouteConverter and Mac OS X - by hvdwolf - 23.08.2010, 12:49
RE: RouteConverter and Mac OS X - by hvdwolf - 23.08.2010, 21:11
RE: RouteConverter and Mac OS X - by hvdwolf - 23.08.2010, 22:43
RE: RouteConverter and Mac OS X - by hvdwolf - 24.08.2010, 17:33
RE: RouteConverter and Mac OS X - by hvdwolf - 25.08.2010, 20:12
RE: RouteConverter and Mac OS X - by hvdwolf - 26.08.2010, 10:57
RE: RouteConverter and Mac OS X - by hvdwolf - 27.08.2010, 19:23
RE: RouteConverter and Mac OS X - by hvdwolf - 27.08.2010, 20:17
RE: RouteConverter and Mac OS X - by hvdwolf - 26.08.2010, 21:50
RE: RouteConverter and Mac OS X - by hvdwolf - 28.08.2010, 12:28
RE: RouteConverter and Mac OS X - by hvdwolf - 29.08.2010, 13:53
RE: RouteConverter and Mac OS X - by hvdwolf - 29.08.2010, 20:51
RE: RouteConverter and Mac OS X - by hvdwolf - 30.08.2010, 10:48
RE: RouteConverter and Mac OS X - by hvdwolf - 01.09.2010, 20:02
RE: RouteConverter and Mac OS X - by hvdwolf - 02.09.2010, 11:53
RE: RouteConverter and Mac OS X - by hvdwolf - 06.09.2010, 19:23
RE: RouteConverter and Mac OS X - by hvdwolf - 19.09.2010, 10:19
RE: RouteConverter and Mac OS X - by hvdwolf - 19.09.2010, 17:10
RE: RouteConverter and Mac OS X - by hvdwolf - 25.10.2010, 18:00
RE: RouteConverter and Mac OS X - by hvdwolf - 25.10.2010, 20:51
RE: RouteConverter and Mac OS X - by hvdwolf - 26.10.2010, 17:24
RE: RouteConverter and Mac OS X - by hvdwolf - 27.10.2010, 16:21
RE: RouteConverter and Mac OS X - by hvdwolf - 28.10.2010, 12:03
RE: RouteConverter and Mac OS X - by hvdwolf - 28.10.2010, 17:49
RE: RouteConverter and Mac OS X - by hvdwolf - 28.10.2010, 21:27
RE: RouteConverter and Mac OS X - by hvdwolf - 29.10.2010, 16:26
RE: RouteConverter and Mac OS X - by hvdwolf - 30.08.2010, 19:06
RE: RouteConverter and Mac OS X - by hvdwolf - 30.08.2010, 21:48
RE: RouteConverter and Mac OS X - by hvdwolf - 30.10.2010, 07:41
RE: RouteConverter and Mac OS X - by hvdwolf - 31.10.2010, 19:22
RE: RouteConverter and Mac OS X - by hvdwolf - 01.11.2010, 18:45
RE: RouteConverter and Mac OS X - by hvdwolf - 02.11.2010, 23:15
RE: RouteConverter and Mac OS X - by hvdwolf - 03.11.2010, 17:22
RE: RouteConverter and Mac OS X - by hvdwolf - 03.11.2010, 21:44
RE: RouteConverter and Mac OS X - by hvdwolf - 05.11.2010, 20:32
RE: RouteConverter and Mac OS X - by hvdwolf - 06.11.2010, 17:54
RE: RouteConverter and Mac OS X - by hvdwolf - 09.11.2010, 21:16
RE: RouteConverter and Mac OS X - by hvdwolf - 12.11.2010, 18:04
RE: RouteConverter and Mac OS X - by hvdwolf - 13.11.2010, 08:29
RE: RouteConverter and Mac OS X - by hvdwolf - 14.11.2010, 17:24
RE: RouteConverter and Mac OS X - by hvdwolf - 15.11.2010, 22:43
RE: RouteConverter and Mac OS X - by Gerwin - 15.11.2010, 19:18
RE: RouteConverter and Mac OS X - by Gerwin - 16.11.2010, 18:46
RE: RouteConverter and Mac OS X - by Gerwin - 17.11.2010, 10:19
RE: RouteConverter and Mac OS X - by hvdwolf - 18.11.2010, 22:53
RE: RouteConverter and Mac OS X - by hvdwolf - 20.11.2010, 21:45
RE: RouteConverter and Mac OS X - by hvdwolf - 21.11.2010, 08:30

Forum Jump:


Users browsing this thread: 3 Guest(s)