jsummerx fails to start. When started from a console the following error is displayed:
$ jsummerx
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
at com.de.zerosys.JSummer.JSummerX.main(JSummerX.java:19)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Layout
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:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
... 1 more
This is from an installation of the java rpm, jsummer-java-0.1.0.0-1.noarch.rpm
I was able to fix the package by rebuilding the rpm and replacing the %define for swtjar with the correct path. I also feel the package may not work as noarch, because my path to the swtjar is /usr/lib64/eclipse/... which is arch-specific.
The software is missing the required SWT package (libswt3-gtk2).
What distribution are you using?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I'm using Unity Linux, which is a Mandriva offshoot. As I mentioned, the original rpm as provided uses the wrong path for the swt-gtk jar file, so I pulled down the source tarball and after noting that it contains a spec file for rpm, just edited that and changed the %define to:
%define swtjar %{_libdir}/eclipse/swt-gtk-3.4.jar
A quick rpmbuild alter and voila, everything is working now. Thanks for a nice little app!
Steve -aka- Stumpy
http://www.unity-linux.org