Kotlin compile error with JDK 11 (JDK 8 not available)
Hi,
I am writing a gradle plugin with Kotlin.
I have JDK 11 set up on my machine.
When I build the plugin in my command line, it is failing at “compileKotlin” stage.
e: No class roots are found in the JDK path: C:\Program Files\RedHat\java-11-openjdk
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task '
plugincompileKotlin'.
A failure occurred while executing...