Java获取进程Id遇到的问题

2019-05-26  本文已影响0人  beeMonkey

Based on “java.lang.Exception: Could not open PerfMemory” in the virtualvm log
I found the following link useful: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6495549

After editing my profile and setting TEMP and TMP to C:\Temp (a directory I created) I can now profile. (the default temp directory was %USERPROFILE%\AppData\Local\Temp)

针对该问题,主要将用户变量(不是系统变量哦)中的Temp 和Tmp变量修改为自己新建的临时目录即可,具体原因还没研究出来

上一篇下一篇

猜你喜欢

热点阅读