美文网首页
Java获取进程Id遇到的问题

Java获取进程Id遇到的问题

作者: beeMonkey | 来源:发表于2019-05-26 17:10 被阅读0次

    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变量修改为自己新建的临时目录即可,具体原因还没研究出来

    相关文章

      网友评论

          本文标题:Java获取进程Id遇到的问题

          本文链接:https://www.haomeiwen.com/subject/jprftctx.html