MacOS Plugin development not working

Answered

Hello. I'm trying to develop plugin on macos but it is not working. The same plugin working on mine desktop (windows). 

Some details:

MacOS: Catalina 10.15.1 Beta (19B86a)

Intellij IDEA Ultimate (2019.2.4)

<idea-version since-build="192.0"/>
<depends>com.intellij.modules.platform</depends>

and it leads to this error:

I tried this but not working:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001512940/comments/360000425219

 

Any hints how to solve it? And for guys from JetBrains xD if necessary i am in same building as you but different floor :)

 

 

 

 

0
3 comments

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.

0

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 ... "

 

or 

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

"

0

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:

https://github.com/jansorg/pycharm-webinar-base/blob/master/docs/intellij-sdk-pycharm-plugin.png

0

Please sign in to leave a comment.