Cannot find Java 1.7 or higher.
(for 1.3.8)
or
Cannot find Java 1.6 or higher.
(for 1.3.4)
VisualVM only takes parameters form JVM through arguments or values given at:
visualvm_138/etc/visualvm.conf
(/Applications/VisualVM.app/Contents/Resources/visualvm/etc)
# Default location of JDK:
#
# It can be overridden on command line by using --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.
#
#visualvm_jdkhome="/path/to/jdk"
Modify :
visualvm_jdkhome="/path/to/jdk"
to your JDK path.
i.e.:
visualvm_jdkhome=C:\oracle\jdk1.7.0_45
visualvm_jdkhome=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
This is the same for Netbeans 8.0.1 Portable, but the variable is called: netbeans_jdkhome
- log can be retrieve by:
visualvm -J-Djava.util.logging.config.file=${path_to_jdk_logging_config_file}
or in the credits (about), there is a bottom to show the standard output (and path to it).
No comments :
Post a Comment