Reputation: 3212
I have a project compiled on Oracle JDK-8 based on JavaFX features. I need to run it on Windows 10 (no problem, I have an Oracle JRE 8 for Windows/64) and on Raspberry pi4. Raspbian's repositories offer just OpenJDK-11, JavaFX isn't boundled in it so to get it to work (partially) need a bit of effort to compile my programs including modules. It's not platform indipendent. Does exist a JRE-8 with JavaFX bundled that can run JDK-8 compiled software on Raspberry pi4?
Upvotes: 0
Views: 1310
Reputation: 45476
Oracle's Java 1.8 for ARM doesn't include JavaFX for ARM, so you can download the latest version available (8.60.12) from here. Other versions can be found as well from this repository. This answer covers how to install it.
You could also switch to Java 11, use JavaFX for ARM SDK from here, or even find a distribution that bundles it with the JDK.
But if you need WebView, as far as I know, 8.60.12 is the only distribution of JavaFX for ARM that includes media and WebView.
Upvotes: 1