jstatd

Starting jstatd in Java 9+

谁说胖子不能爱 提交于 2020-01-13 08:16:30
问题 In the past, I have started jstatd via a security policy file, as suggested here: https://stackoverflow.com/a/14930180/1294116 However, in Java 9+, they have removed the tools.jar file, which means that this solution no longer works. Does anyone know how to get around this? (Currently I am back to getting the error java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.rmi.server.ignoreSubClasses" "write") ... ) 回答1: Since Java 9 they moved most (if not all)

How can you run profiling on a Java application wrapped as an .exe?

喜你入骨 提交于 2019-12-08 12:58:02
问题 I would like to run profiling using jstatd and visualvm against a third-party Java application which has been wrapped as an .exe . Does anybody have advice on how this can be achieved? 回答1: You don't need anything special. Just run VisualVM locally under the same user as your Java application. It does not matter that it is wrapped as .exe file. What version of JDK does you application use? 来源: https://stackoverflow.com/questions/15789908/how-can-you-run-profiling-on-a-java-application-wrapped