博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JVisualVM出现: “Local Applications Cannot Be Detected”
阅读量:6910 次
发布时间:2019-06-27

本文共 883 字,大约阅读时间需要 2 分钟。

网上找到如下答案:

For people stumbling here who have a FAT-type file system:

  • Make a directory (e.g. e:\temp) on an NTFS disk.--------在ntfs格式的磁盘上新建一个temp文件夹
  • Start both java and jvisualvm with an environment variable TMP=E:\temp.-----------------设置TMP环境变量

下面有三种方法设置环境变量

There are three options to set the environment variable for java:

  • In your IDE, go to the project options or launch options and find the 'Environment' entry, then enter TMP=E:\temp
  • Open a cmd prompt, and execute set TMP=E:\temp before launching youur java application from the same prompt.
  • Put the two lines you'd enter at the cmd prompt in a .bat file. Optinally add pause at the end of the bat file to prevent the console window from disappearing in case of a runtime exception or vm crash.

Similarly, for JVisualVM, use one of the last two options.

再点击软件,右键设置以管理者模式打开,ok~

转载于:https://www.cnblogs.com/yovela/p/8971623.html

你可能感兴趣的文章
用android模拟器Genymotion定位元素
查看>>
Navicat连接oracle,出现Only compatible with oci version 8.1 and&nb (转)
查看>>
BusyBox 简化嵌入式 Linux 系统【转】
查看>>
时钟频率的理解--笔记【原创】
查看>>
win10 进入安全模式的方法
查看>>
hdu 5783 Divide the Sequence 贪心
查看>>
man/ls/clock/date/echo笔记
查看>>
Unity 5.3.5p8 C#编译器升级
查看>>
python 3.5 成功安装 scrapy 的步骤
查看>>
【Linux】linux常用基本命令
查看>>
数组中重复的数字
查看>>
【Hadoop】如何形象描述大数据生态?
查看>>
Objective-C Runtime(转)
查看>>
Linux下Mysql的odbc配置
查看>>
Entity Framework 不支持DefaultValue
查看>>
Linux运维基础命令笔试题--看看你会多少?
查看>>
spring声明式事务 同一类内方法调用事务失效
查看>>
PHP对自己I/O流访问的封装(转)
查看>>
Android Fragment学习笔记(二)----Fragment界面添加和管理
查看>>
在CentOS下安装tomcat并配置环境变量(改默认端口8080为8081)
查看>>