Skip to content

Instantly share code, notes, and snippets.

@ChinaXing
Created January 24, 2018 07:51
Show Gist options
  • Save ChinaXing/d6afb98c7a829de842f024c53786cadf to your computer and use it in GitHub Desktop.
Save ChinaXing/d6afb98c7a829de842f024c53786cadf to your computer and use it in GitHub Desktop.
start jstatd all policy
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
};
jstatd -J-Djava.security.policy=jstatd.all.policy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment