[Debian-med-packaging] Bug#908039: Bug#908039: figtree: Crashes with NoClassDefFoundError

Olivier Sallou olivier.sallou at irisa.fr
Thu Sep 6 15:00:21 BST 2018



On 09/05/2018 03:08 PM, Fabian Klötzl wrote:
>
>
> On 05.09.2018 14:46, Andreas Tille wrote:
>> Probably same as #907559.
>
> Yeah, that looks related.
>
>
>>
>> Would you mind adding batik-constants.jar to CLASSPATH and try again?
>
>
> As far as I understand java, I already tried that. One can give
> additional paths to the java executable via the -cp parameter. That is
> what I did with the command given, above. Trying the shell variable
> CLASSPATH does not lead to any improvement either.
I think that, as a JAR with a manifest, it  loads only jars declared in
manifest, ignoring the additional classpath.
So contants (or any needed jar) needs to be added in JAR manifest , not
at runtime

Olivier
>
> That is whats bugging me. There is a XMLConstants in the
> batik-constants.jar. However, java just decides not to load it even
> though compilation was fine.
>
> Best,
> Fabian
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
Olivier Sallou
Univ Rennes, Inria, CNRS, IRISA
Irisa, Campus de Beaulieu
F-35042 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



More information about the Debian-med-packaging mailing list