you double click on visualvm and you get this message - without an explanation of how to use a JDK instead.
Bummer.
After some research I find out that
visualvm_132\visualvm_132\etc
contains a file
visualvm.conf
with an entry:
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
#jdkhome="/path/to/jdk"
I replace it with
jdkhome=C:/Oracle4/Middleware/jdk160_21
and it works....
Tuesday, June 28, 2011
Subscribe to:
Post Comments (Atom)
3 comments:
Thanks, I've just had the same problem, solved with your solution. :)
Thanks so much for this :) could not find this anywhere else
You can also specify a JDK on the command line (see documentation):
visualvm.exe --jdkhome "C:\Programme\Java\jdk1.7.0_02"
For the Eclise plugin it is important to configure the correct path in the preferences (just search for "visualvm").
Post a Comment