robfletcher
03/18/2021, 2:49 PMjava.lang.NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.com.intellij.pom.java.LanguageLevel
trying to run a Gradle build with Kotlin scripts under buildSrc
using the new Zulu JDK 16?christophsturm
03/18/2021, 2:51 PMchristophsturm
03/18/2021, 2:53 PMCaused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @324e4822
robfletcher
03/18/2021, 2:53 PMJAVA_HOME
to a different versionchristophsturm
03/18/2021, 2:54 PMrobfletcher
03/18/2021, 2:58 PMchristophsturm
03/18/2021, 2:58 PMchristophsturm
03/18/2021, 2:59 PMrobfletcher
03/18/2021, 3:00 PMgradle --no-daemon
toorobfletcher
03/18/2021, 3:01 PMJAVA_HOME
set to 16christophsturm
03/18/2021, 3:01 PMchristophsturm
03/18/2021, 3:02 PMchristophsturm
03/18/2021, 3:02 PMchristophsturm
03/18/2021, 3:04 PMrobfletcher
03/18/2021, 3:04 PMkillall java
only seemed to kill IntelliJ for mechristophsturm
03/18/2021, 3:06 PMrobfletcher
03/18/2021, 3:10 PMkillall java
the problem seems to have gone away even if I don’t use --no-daemon
christophsturm
03/18/2021, 3:10 PMrobfletcher
03/18/2021, 3:11 PMrobfletcher
03/18/2021, 3:11 PMrobfletcher
03/18/2021, 3:12 PMrm -fr buildSrc/build
it does’t recurtapchicoma
03/18/2021, 3:20 PM1.5.0
releasechristophsturm
03/18/2021, 4:52 PMtapchicoma
03/18/2021, 4:55 PM