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

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm