ohio813 / bwhf

Automatically exported from code.google.com/p/bwhf
0 stars 0 forks source link

Does not start on linux amd64 (kubuntu) #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to run BWHFAgent.sh on linux/amd64 kubuntu

What is the expected output? What do you see instead?
BWHFAgent does not launch, instead I see the splash screen for ever and the
console output saying:
Exception in thread "SwingWT-Dispatch" java.lang.UnsatisfiedLinkError:
/home/lary/BWHFAgent/lib/linux_gtk2/libswt-pi-gtk-3232.so:
/home/lary/BWHFAgent/lib/linux_gtk2/libswt-pi-gtk-3232.so: wrong ELF class:
ELFCLASS32 (Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1692)
        at java.lang.Runtime.loadLibrary0(Runtime.java:840)
        at java.lang.System.loadLibrary(System.java:1047)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        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:126)
        at swingwtx.swing.SwingWTUtils$1.run(SwingWTUtils.java:205)

What version of the product are you using? On what operating system?
BWHFAgent-2.72. Kubuntu Linux AMD64

Please provide any additional information below.
Not a new issue, same problem with older releases

Original issue reported on code.google.com by peter.k...@gmx.de on 7 Oct 2009 at 1:45

GoogleCodeExporter commented 9 years ago
You need a 32-bit version of Java. When you start it, you might need to 
manually edit 
the starter script to use the 32-bit version of Java.

Original comment by icz...@gmail.com on 7 Oct 2009 at 1:47

GoogleCodeExporter commented 9 years ago
Thanks, that did the trick. What I had to do:

sudo apt-get install ia32-sun-java6-bin
sudo update-alternatives --config java

The first step installs a 32bit java, the second lets you select this new 
installed
java as default java implementation.

Original comment by peter.k...@gmx.de on 7 Oct 2009 at 1:55

GoogleCodeExporter commented 9 years ago
Glad you could start it.

Original comment by icz...@gmail.com on 7 Oct 2009 at 2:01