Java Mission Control error
:
From the FAQ:
Q: I cannot see any locally running JVMs in the JVM browser!
A1: Are you running in Eclipse? If so, make sure you run your Eclipse on a JDK, NOT a JRE!
A2: You should have a directory named hsperfdata_<user> in your tmp directory, where <user> is your login. (On windows you should be able to find this folder under C:\Users\myuser\AppData\Local\Temp\hsperfdata_myuser.) Make sure that the directory can be written to. Also make sure that you are using a file system that supports ACLs.
A3: Double check the JAVA_HOME/lib/missioncontrol/jmc.ini file, the line after '-vm' should not be empty, but say './' (without the quotes). If you see this behavior, please write a post in this forum, so we can get gain some more understanding of this weird issue.
In my case the jmc.ini did not have the ./ after the -vm in the ini file.
Even after adding the ./ after -vm, Java Mission Control could not find the JVMs.
I did have the directory C:\Users\LongUserName\AppData\Local\Temp\hsperfdata_LongUserName
however the tmp pointed to C:\Users\LongUs~2\Appdata\temp so the Java Mission Control could not find the hsperfdata_LongUserName because the paths were different.
Seems that the JDK 8 U144 did not work on Windows 10 with a long user name. Is there a work around?
Logging in as a user with a short name (8 characters or less) it worked.
Note: I will try the latest update, 151.
Scott D.