```kotlin{ jvm("desktop"){ compilations.main...
# multiplatform
c
Copy code
kotlin{
  jvm("desktop"){
    compilations.main.kotlinOptions.jvmTarget = "1.8"
  }
}
It is still using java 11, so javafx is not working :( Anyone know how can I force the compiler to use java 8?
r
You can’t use JavaFX 12?
c
Nope, tornadofx 1.x uses java 8 and I can't find tornadofx 2.0 on any repo (don't want to build it locally)
Maybe I can ditch tornado and use javafx alone
a
c
I think it's just because I can't target both jvm and android so something was broken (not related to java version)