Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Cannot start on Ubuntu 12.04 64bit

christer74
2012-03-29
2013-04-07
  • christer74
    christer74
    2012-03-29

    Hi!
    I get the dreadded
    "JVM terminated. Exit code=13"
    when trying to start mytourbook on Ubuntu 12.04 64 bits.
    I have installed Oracle Java 7 and tried several eclipse error fixing but nu luck.

    Please help!

    The debug console output is the following;

    christer@d-e5520:~/mytourbook$ ./mytourbook -debug -consolelog &
    16306
    christer@d-e5520:~/mytourbook$ Start VM: /usr/bin/java
    -Xmx512m
    -Djava.net.preferIPv4Stack=true
    -jar /home/christer/mytourbook/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -os linux
    -ws gtk
    -arch x86
    -showsplash
    -launcher /home/christer/mytourbook/mytourbook
    -name Mytourbook
    -launcher.library /home/christer/mytourbook/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
    -startup /home/christer/mytourbook/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -launcher.overrideVmargs
    -exitdata bc800f
    -debug
    -consolelog
    -vm /usr/bin/java
    -vmargs
    -Xmx512m
    -Djava.net.preferIPv4Stack=true
    -jar /home/christer/mytourbook/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    Install location:
        file:/home/christer/mytourbook/
    Configuration file:
        file:/home/christer/mytourbook/configuration/config.ini loaded
    Configuration location:
        file:/home/christer/.mytourbook/
    Configuration file:
        file:/home/christer/.mytourbook/config.ini not found or not read
    Shared configuration location:
        file:/home/christer/mytourbook/configuration/
    Framework located:
        file:/home/christer/mytourbook/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    Framework classpath:
        file:/home/christer/mytourbook/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    Splash location:
        /home/christer/.mytourbook/org.eclipse.equinox.launcher/net.tourbook_12.1.1.201201250808/splash.bmp
    Debug options:
        file:/home/christer/mytourbook/.options not found
    Time to load bundles: 4
    Starting application: 617
    !SESSION 2012-03-29 19:49:10.727 -------------------------------
    eclipse.buildId=unknown
    java.version=1.7.0_03
    java.vendor=Oracle Corporation
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86 -debug -consolelog

    !ENTRY org.eclipse.osgi 4 0 2012-03-29 19:49:11.485
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:217)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:690)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
    at net.tourbook.application.Application.start(Application.java:34)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64

    (Mytourbook:16306): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

    christer@d-e5520:~/mytourbook$

     
  • Dering
    Dering
    2012-07-02

    Hi christer74,

    take care that you have installed the 32-Bit Java-VM.

    The error message:

    java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

    informs you that you are currently running a 64-bit version of Java.

    A very good description about installung java can be found here:

    http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/

    Cheers.