moodpo / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
0 stars 0 forks source link

Applets do not work #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Launch firefox and try java autodetection at java.com. Java Plugin kicks-in 
with security dialog - however it does not get ever repainted - just whole 
white box appears. EventDispatch-thread seems to be locked waiting for some 
thread to join.

2. Go to terminal and get rid of the 
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar (... export 
JAVA_TOOL_OPTIONS=""), launch firefox and visit java.com again - everything 
works just fine in this case ....

Original issue reported on code.google.com by VitekCva...@gmail.com on 25 Apr 2014 at 7:45

GoogleCodeExporter commented 9 years ago
In progresss, but only to skip errors, if you want to work it, you need add 
these grants:

grant codeBase "file:/usr/share/java/jayatana.jar" {
    permission java.security.AllPermission;
};

grant codeBase "file:/usr/share/java/jayatanaag.jar" {
    permission java.security.AllPermission;
};

grant {
    permission java.lang.RuntimePermission "shutdownHooks";
};

Original comment by danjaredg on 9 Sep 2014 at 9:41

GoogleCodeExporter commented 9 years ago
Please, test with ppa:danjaredg/jayatana-test, and grants

Original comment by danjaredg on 25 Sep 2014 at 6:10

GoogleCodeExporter commented 9 years ago

Original comment by danjaredg on 26 Sep 2014 at 12:29