TuxGuitar

I have upgraded to SUSE 12.1 (I586) and the TuxGuitar does not run because it requires something from the Java SWT library.
I have looked thru the search results for Java on YAST, but it is not clear to me what I need to install. Is this a dependency bug in this distribution of TuxGuitar?

Regards
Jim Leven

Am 05.03.2012 09:46, schrieb jhleven:
>
> I have upgraded to SUSE 12.1 (I586) and the TuxGuitar does not run
> because it requires something from the Java SWT library.

It would help if you post the exact error message with copy an paste.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT
420 | 16GB Ram
Eee PC 1201n: oS 12.1 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram

What does “java -version” report?

In the meantime, make sure you have a valid java soundfont installed and ready: Unavailable soundbank in tuxguitar

Or even check out No sound in Tuxguitar.

Sorry - attached error message:
~: tuxguitar
Exception in thread “main” java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-3730 in java.library.path
no swt-gtk in java.library.path
Can’t load library: /home/jleven/.swt/lib/linux/x86/libswt-gtk-3730.so
Can’t load library: /home/jleven/.swt/lib/linux/x86/libswt-gtk.so

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:284)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:193)
    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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
    at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)

~:

Are these files really there?
What gives


ls -l /home/jleven/.swt/lib/linux/x86/

?


PC: oS 11.4 x86_64 | Intel Core i7-2600@3.40GHz | 16GB | KDE 4.6.0 |
GeForce GT 420
Eee PC 1201n: oS 12.1 x86_64 | Intel Atom 330@1.60GHz | 3GB | KDE 4.8.0
| nVidia ION
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10 |
xf86-video-geode

Also, search for any packages that may provide those files, from a terminal type:
zypper wp libswt-gtk.so
“wp” stands for “what provides” and will search for any packages that provide that file =)

There is also a similar bug: [Bug 732684] New: Tuxguitar does not start on opensuse 12.1](http://lists.opensuse.org/opensuse-bugs/2011-11/msg05526.html) (recommends to install eclipse-swt package)
See this thread for an issue from 11.4: http://forums.opensuse.org/english/get-technical-help-here/applications/468184-11-4-tuxguitar-problem.html (recommends to update CLASSPATH)

Try updating your classpath from this post:

Thanks - this solved the problem.
Jim