29 July 2014

JVM for VisualVM

When trying to execute VisualVM you may get:

Cannot find Java 1.7 or higher.
(for 1.3.8)

Cannot find Java 1.6 or higher.
 (for 1.3.4)

VisualVM only takes parameters form JVM through arguments or values given at:


# Default location of JDK:
# It can be overridden on command line by using --jdkhome

# Be careful when changing jdkhome.
# There are two VisualVM launchers for Windows (32-bit and 64-bit) and
# installer points to one of those in the VisualVM application shortcut
# based on the Java version selected at installation time.

Modify :


to your JDK path.



This is the same for Netbeans 8.0.1 Portable, but the variable is called: netbeans_jdkhome

My Blog List

Blog Archive


The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.