Sarkath
Active Member
- Sep 8, 2019
- 547
- 949
- 296
That error indicates that the OpenJDK libraries aren't being loaded. You'll want to run the "javafx:run" Maven target to ensure that its class files and natives get pulled in. That target should be available in your IDE if it loaded the Maven project properly.Using this approach I was able to successfully build using OpenJDK 11. However, the resulting file will not actually run with OpenJDK 11. Quoth cmd:
I'm not particularly familiar with running Maven outside of IntelliJ, but I think the command line equivalent would be something like "mvn javafx:run" or "mvn clean javafx:run".
I also stumbled upon a shell script I wrote a while back that would allow OpenJDK/JFX 11 users to launch LT without having to retarget or rebuild. It might offer some insight (particularly with regards to which modules actually need to be loaded, and how to do so):
You must be registered to see the links