JConsole and Java VisualVM Problems on Windows

I ran in to this problem again today, only I forgot that I had blogged about it in the past, so I had to research and find the solution a second time.

In summary, if JConsole or Java VisualVM aren’t able to connect to local processes, your %TMP%\hsperfdata_[username] directory needs to match the capitalization of your Windows username. In my case, I renamed hsperfdata_eburke to hsperfdata_EBurke, solving the problem.


FYI: the upcoming VisualVM release will save your time next time you forget the solution:o) https://visualvm.dev.java.net/issues/show_bug.cgi?id=311