I'm using <https://github.com/beryx-gist/badass-jl...
# tornadofx
e
I'm using https://github.com/beryx-gist/badass-jlink-example-kotlin-tornadofx to create a TornadoFX app with an embedded JVM so that users don't have to have one installed on their systems. My app needs a web view, and even though the example project compiles fine as is, once I add the
javafx.web
module to
module-info.java
, I get an error:
Copy code
gradle jlinkZip

> Task :discoverMainScriptsExtensions
e: Module javafx.web cannot be found in the module graph
> Task :compileKotlin FAILED
BTW, I thought it was not possible to compile and run a TornadoFX app with Java 11
c
I haven't been keeping up on the Java 11 support but some of it should run out-of-the-box as a legacy classpath mode.
There were changes to the public JavaFX API that may be holding somethings back. These were from 9, not 11