Does anyone know what JDK I need to choose in orde...
# multiplatform
j
Does anyone know what JDK I need to choose in order to create a Compose Multiplatform project (Android + Desktop)? I tried a couple, but I keep getting
Copy code
Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens <http://java.io|java.io>" to unnamed module @1f6fae8f
when running the Android part.
b
11 should work just fine, but cfd only needs 9+ for jlink and jpackage
j
No luck, still getting this error:
Copy code
Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens <http://java.io|java.io>" to unnamed module @41245a2
Also curiously the Android build.gradle.kts file has
Copy code
compileOptions {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}
Fixed by resetting to factory settings.