Skip to content

Instantly share code, notes, and snippets.

@YutaHiguchi-bsn
Created April 10, 2019 21:18
Show Gist options
  • Save YutaHiguchi-bsn/9c30acb49c0949ba2993b96f574604b5 to your computer and use it in GitHub Desktop.
Save YutaHiguchi-bsn/9c30acb49c0949ba2993b96f574604b5 to your computer and use it in GitHub Desktop.
Specify JVM to use for VisualVM
Edit /Applications/VisualVM.app/Contents/Resources/visualvm/etc/visualvm.conf and add a line
visualvm_jdkhome="${JAVA_HOME}"
Lauch from command line, after exporting JAVA_HOME
$ /Applications/VisualVM.app/Contents/MacOS/visualvm &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment