Change plugin sandbox boot JDK
Answered
I am developing a plugin for Intellji, but this plugin depends on JDK 12. Intellji runs on (a custom version of) JDK 8. I know how to switch this for the IDE I am developing the plugin in, but I cannot find how I can configure the boot JDK of the sandbox IDE. Is this at all possible? I am currently testing the plugin by building the plugin and installing it manually, but this does not allow me to debug the plugin. I am also using Gradle for the plugin, if that makes any difference.
Thanks in advance!
Please sign in to leave a comment.
Did you try this: https://stackoverflow.com/questions/55783215/intellij-plugin-development-freezes-target-intellij-instance/55783247 ?
If I am not mistaken, this only works for JDK 8 and 11, while my plugin requires 12. Based on the versions listed here: https://bintray.com/jetbrains/intellij-jdk/
You can use any JDK there, not just JetBrains Runtime.
Okay thanks, I solved it by avoiding the dependency on JDK 12.