Package: figtree
Version: 1.4.3+dfsg-5
Severity: normal
Dear Maintainer,
The current package of figtree builds fine, but crashes when started
with the following message.
$ java -Xms64m -Xmx512m -cp
/usr/share/java/batik-all.jar:/usr/share/java/batik-constants.jar -jar
/usr/share/java/figtree.jar
javax.swing.UIManager$LookAndFeelInfo[Metal
javax.swing.plaf.metal.MetalLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[Nimbus
javax.swing.plaf.nimbus.NimbusLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[CDE/Motif
com.sun.java.swing.plaf.motif.MotifLookAndFeel]
javax.swing.UIManager$LookAndFeelInfo[GTK+
com.sun.java.swing.plaf.gtk.GTKLookAndFeel]
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/batik/util/XMLConstants
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009)
at
java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
... way more lines
For some reason java fails to find the XMLConstants class which is located
in batik-all.jar and batik-constants.jar. The former is also mentioned
in the build.xml but does not get included in the manifest. However, even
when setting the classpath explicitly (as seen above) java still fails.
Any hint is appreciated.
Also affected: Ubuntu 18.04.
Best,
Fabian