Tux Guitar


Subject Tuxguitar doesn't start

Author Message
Post: Jun 6th 2010 at 2:23 PM

Hi, after update to Ubuntu 10.4
tuxguitar -i print:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Control
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Control
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
... 1 more

maybe I need some dependences because the only file
I have in /usr/lib/java is


Back to Top
Post: Jun 6th 2010 at 2:37 PM

This is because swt.jar isn't at java classpath..
it could be because it's not installed (don't seems to be your case ) of because the launcher script of tuxguitar don't know it's real location. does this problem happen with our official tuxguitar ubuntu package ?

Back to Top
Post: Jun 6th 2010 at 3:25 PM

I've installed it through synaptic (so I think is official), the package is called
tuxguitar version 1.1-1ubuntu4
and I also installed
tuxguitar-jsa version 1.1-1ubuntu4

Back to Top
Post: Jun 6th 2010 at 3:51 PM

That is the package provided by ubuntu, i asked you this because the launcher script is different than the one we made...

Could you try reinstalling libswt* packages ?

Back to Top
Post: Jun 6th 2010 at 4:01 PM

ok it works now, I've removed and installed libswt-gtk-3.5-java and tuxguitar.
Thanks a lot


Back to Top