2

I am searching for an open Java-installation-package that contains WebStart functionality and JavaFX components so that I can run JavaFX applications via WebStart.

I want to replace Oracle-Java 8 with an open Java-installation to avoid Oracle-licensing.

The preferred open-Java would be AdoptOpenJDK, but as I have seen, there is WebStart in version 8 only, where JavaFX is only in version 11. I'd need both in one.

For a specific version of AdoptOpenJDK-8 I've already managed it to add JavaFX components. But since it is high effort to put this together each time a new AdoptOpenJDK version is released, I am looking for a complete solution, maybe also in another openJDK-package.

Best regards and thank you in advance for any hint.

1

Adoptium

AdoptOpenJDK is now known as Adoptium, after moving to the Eclipse Foundation. But keep using the https://adoptopenjdk.net web site during their transition.

Adoptium offers many variations of Java implementations, for various CPU architectures, host OSes, and such. But none of them include the JavaFX libraries necessary to run a JavaFX (OpenJFX) app.

You can download the JavaFX/OpenJFX library, and install on the user’s machine, somewhere on the Java classpath. Or you can obtain a Java implementation that comes with the JavaFX/OpenJFX library bundled.

Other vendors bundling JavaFX

Two other vendors provide such a Java implementation, also based largely on the OpenJDK project as are the Adoptium products:

  • ZuluFX by Azul Systems
  • LibericaFX by BellSoft

These are noted in this flowchart I made to help guide you in choosing a vendor for a Java implementation.

Flowchart guiding you in choosing a vendor for a Java 11 implementation

Java Web Start

As for Java Web Start & JNLP, that technology is being phased out by Oracle. Read this white paper from Oracle, Java Client Roadmap Update, dated 2020-05.

An open-source alternative implementation of JNLP is underway at OpenWebStart. I know nothing about that product.

Oracle recommends you make a build of your app for every host OS you intend to support. In each build, use jlink and other such tools to bundle the parts of the JDK needed to run your JavaFX app. Your app bundle will then be ready-to-run standalone, like any other double-clickable native app. Use similar distribution models as you would for a native app: manual downloads, installed via enterprise PC management software, or app stores.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.