FS#31410 - [tuxguitar] [swt] exception at start
Attached to Project:
Community Packages
Opened by Thar (Thar) - Tuesday, 04 September 2012, 17:50 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 08 September 2012, 11:27 GMT
Opened by Thar (Thar) - Tuesday, 04 September 2012, 17:50 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 08 September 2012, 11:27 GMT
|
Details
Attempting to lanuch executable ends with following
exception:
har@myhost ~> tuxguitar Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/swt/widgets/Control : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) 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 org.herac.tuxguitar.gui.TGMain.main(Unknown Source) Additional info: * tuxguitar 1.2-5 * openjdk6 6.b24_1.11.4-1 * config and/or log files etc. Steps to reproduce: Execute /usr/bin/tuxguitar |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Saturday, 08 September 2012, 11:27 GMT
Reason for closing: Fixed
Additional comments about closing: Added compile flag "target=1.6". Fixed in 4.2-1
Saturday, 08 September 2012, 11:27 GMT
Reason for closing: Fixed
Additional comments about closing: Added compile flag "target=1.6". Fixed in 4.2-1
FS#31335,FS#30295)Guillaume, please consider changing swt dependencies to java7 only.
FS#31460, setting compile flag "target" to 1.6 solves your issue. Tested with openjdk6 and jre7-openjdk so setting back dependency on java>=6 for swt-4.2.