I'm experiencing an issue launching my application with the VisualVM Launcher plugin for Intellij. The message I recieve when lauching is displayed below:
Error running 'Desktop': appId=81286153463824, jdkHome=null, visualVmHome=/Applications/VisualVM.app
I found these post that relate to this issue: here and here. Unfortunately, the problem is I can't find the scripts mentioned in the first post and I have no idea how to create the stack trace mentioned in the latter post.
I'm quite new to Intellij coming from eclipse, I don't know what details are pertinent. Below you'll find some quick facts:
IntelliJ IDEA 2018.2.1 (Community Edition)
Build #IC-182.3911.36, built on August 6, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
You probably (understandably) were confused about setting the location of your VisualVM executable when configuring the VisualVM Launcher
IntelliJ plugin:
You want to located the .jar, not your Mac's executable path:
$ sudo find / -name "*visualvm*"
/usr/bin/jvisualvm