intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

How to provide a JDK for plugin that uses `javax.tools.ToolProvider.getSystemJavaCompiler()`?

Open JakkuSakura opened this issue 4 years ago • 2 comments

I'm building a plugin that integrates automated program-repair into idea. However, it requires JDK 1.8, not only JRE 1.8. Is there a way to specify which runtime to use by path?

In theory, I could boot another JVM, but it is overly compilicated and can only be used as last resolve.

JakkuSakura avatar Jul 28 '21 21:07 JakkuSakura

Currently, IDE requires Java 11 for runtime as well as development. Java 8 is no longer supported in both cases.

hsz avatar Jul 28 '21 22:07 hsz

I can develop plugins for idea 2020.2.4, where java 8 is still supported. Now the problem is JDK

JakkuSakura avatar Jul 29 '21 07:07 JakkuSakura