Hi Anna,
On Wed, 23 May 2012, Barnes Anna (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST - RRV) wrote:
> "java.lang.SecurityException: class "DICOM_Manager"'s signer information
> does not match signer information of other classes in the same package"
> plus other java messages.
Two workarounds I can imagine:
1) re-sign the .jar files with your own key:
http://docs.oracle.com/javase/tutorial/deployment/jar/signing.html2) remove the signatures from the .jar files by opening them as .zip files
and removing the appropriate parts in META-INF/ (if I remember correctly,
lines were added to MANIFEST.MF but there might be more to it)
There is also another ugly workaround that should work: make a new text
file named, say, policy.txt containing these lines:
-- snip --
grant {
permission java.security.AllPermission;
};
-- snap --
And then start the Java Virtual Machine with the option
-Djava.security.policy=policy.txt (this might be not practical, depending
how you usually start ImageJ).
Ciao,
Johannes