MacOS Plugin development not working Follow
Hello. I'm trying to develop plugin on macos but it is not working. The same plugin working on mine desktop (windows).
MacOS: Catalina 10.15.1 Beta (19B86a)
Intellij IDEA Ultimate (2019.2.4)
and it leads to this error:
I tried this but not working:
Any hints how to solve it? And for guys from JetBrains xD if necessary i am in same building as you but different floor :)
Please sign in to leave a comment.
In the screenshot it's visible that you're running this with a JDK 12. That's not supported, as far as I can tell. Try to reconfigure the JDK attached to your IntelliJ SDK and use JDK 8.
Joachim Ansorg - Hello. Thx for reply. But when i change Project SDK to 1.8 (java version "1.8.0_222") - i'm getting this error message in plugin configuration (run/debug configurations):
"Run Configuarion Error: Wrong SDK type for plugin module ... "
when i keep Project SDK version (from 2. screenshot above), and change JRE in plugin configuration to 1.8 -> i'm getting this error:
Connected to the target VM, address: '127.0.0.1:0', transport: 'socket'
Error: Could not find or load main class com.intellij.idea.Main
Disconnected from the target VM, address: '127.0.0.1:0', transport: 'socket'
Process finished with exit code 1
Don't change the project SDK, but the "Internal Java Platform" of the IntelliJ SDK, which points to a JDK.
It's displayed here, for example: