jstatd having issue with permission in jdk 11
Create a file, mypolicy
grant codebase "jrt:/jdk.jstatd" {
permission java.security.AllPermission;
};
grant codebase "jrt:/jdk.internal.jvmstat" {
permission java.security.AllPermission;
};
Next,
Execute with the following command :-
./jstatd -J-Djava.security.policy=mypolicy
Comments