Topic
  • 4 replies
  • Latest Post - ‏2013-11-20T21:30:27Z by FrankBrandt
Mita201
Mita201
110 Posts

Pinned topic Java security strikes again

‏2013-11-04T18:26:34Z |

After update of java on my workstation to 1.7.0.25, I can't do copy/paste in/from ISIM java applets. 

permission java.awt.AWTPermission "accessClipboard"; will not help any more.

Does anyone knows how to enable it again?

  • FrankBrandt
    FrankBrandt
    18 Posts
    ACCEPTED ANSWER

    Re: Java security strikes again

    ‏2013-11-05T12:52:02Z  

    What we use to get the applet running

    Custom %USERPROFILE%\.java.policy file with the settings like

    permission java.awt.AWTPermission "accessClipboard";

     

    Since 1.7.0.45 you additionally need to extend the configuration, so the custom policy file is loaded

    %USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties
    Add a line like this anywhere in the file:
    deployment.security.use.user.home.java.policy=true

  • FrankBrandt
    FrankBrandt
    18 Posts

    Re: Java security strikes again

    ‏2013-11-05T12:52:02Z  

    What we use to get the applet running

    Custom %USERPROFILE%\.java.policy file with the settings like

    permission java.awt.AWTPermission "accessClipboard";

     

    Since 1.7.0.45 you additionally need to extend the configuration, so the custom policy file is loaded

    %USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties
    Add a line like this anywhere in the file:
    deployment.security.use.user.home.java.policy=true

  • Mita201
    Mita201
    110 Posts

    Re: Java security strikes again

    ‏2013-11-05T14:22:16Z  

    What we use to get the applet running

    Custom %USERPROFILE%\.java.policy file with the settings like

    permission java.awt.AWTPermission "accessClipboard";

     

    Since 1.7.0.45 you additionally need to extend the configuration, so the custom policy file is loaded

    %USERPROFILE%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties
    Add a line like this anywhere in the file:
    deployment.security.use.user.home.java.policy=true

    Tnx, it works.

    Regards,

     

    Mita

  • zbychfish
    zbychfish
    52 Posts

    Re: Java security strikes again

    ‏2013-11-15T15:07:48Z  

    Hi,

    I have noticed that change (permission) should be added to <JAVA_DIR>lib/security/java.policy file this time instead of <JAVA_DIR>jre/lib/security/java.policy

    After move to this location copy & paste operation is possible again.

  • FrankBrandt
    FrankBrandt
    18 Posts

    Re: Java security strikes again

    ‏2013-11-20T21:30:27Z  
    • zbychfish
    • ‏2013-11-15T15:07:48Z

    Hi,

    I have noticed that change (permission) should be added to <JAVA_DIR>lib/security/java.policy file this time instead of <JAVA_DIR>jre/lib/security/java.policy

    After move to this location copy & paste operation is possible again.

    You can use <JAVA_DIR>lib/security/java.policy, but the file is overwritten with every update of Java!