[josm-dev] how to load signed jars needed by my plugin?

Petr Nejedlý petr at nejedli.cz
Mon Jul 5 20:01:20 BST 2010


Christoph Wagner wrote:
> The other problem is, that the signatures are checked while runtime.
> If I ignore the signatures I get this error:
>
> java.lang.SecurityException: JCE cannot authenticate the provider BC
>
> while using the bouncycastle security provider. I don't want to hack this internal.
>
> Is there no way to load the additional jars with josm?
>   
Isn't the URLClassLoader respecting Class-Path: attribute from the manifest?
You should be able to keep the library in a separate jar and reference 
it only
from your plugin's manifest...

--
Nenik





More information about the josm-dev mailing list