← Back to team overview

openjdk team mailing list archive

Bug#642734: Bug#642598: w/ new javaws.policy HDtracks Download Manager no longer works

 

Hallo Damien,

Damien Raude-Morvan wrote, on 09/29/11 10:56:
<snip>
> 
> In fact, it's an issue with openjdk-6 where he didn't allow it's own 
> sunpkcs11.jar library to access internal classes. I'm preparing an update for 
> this. In the mean time, you can edit /etc/java-6-openjdk/security/java.policy 
> and replace  :
> ------
> grant codeBase "file:/usr/lib/jvm/java-6-openjdk-amd64/ext/*" {
>         permission java.security.AllPermission;
> };
> grant codeBase "file:/usr/lib/jvm/java-6-openjdk-common/ext/*" {
>         permission java.security.AllPermission;
> };
> ------
> by this policy : 
> ------
> grant codeBase "file:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/*" {
>         permission java.security.AllPermission;
> };
> grant codeBase "file:/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/*" {
>         permission java.security.AllPermission;
> };
> ------
> 
> Cheers,

Your recommended change in /etc/java-6-openjdk/security/java.policy makes the
java-plugin work again.
Thank you very much.
-- 
Best regards,
Jörg-Volker.






References