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

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type