Java – how to run jvisualvm. Java under the local system account under Windows Server 2008 exe?
I've been looking for a comparable method, such as publishing here for Windows Server 2003, to start jvisualvm under the system account But I got a mistake:
I found that the jvisualvm is using the configuration file:
This profile contains points to ${home} / Default for_ Userdir property There seems to be a problem with the system account ${home} Change this parameter and replace ${home} with C: / temp so that the above solution can also be used with Windows Server 2008 R2
Solution
There are answers, but I want to summarize these steps
Note that for me, the jvisual VM did not print or record anything when it failed to start I just need to make sure that the conf file is updated correctly
So follow these steps: how do you run jvisualvm exe under the local system account under Windows Server 2003?
Then use this conf prompt I can now see the process, but I still can't capture detailed JVM information, such as thread dump