Questions tagged [openjfx]
229 questions
122
votes
1 answer
Error: JavaFX runtime components are missing, and are required to run this application with JDK 11
I'm trying to run the sample JavaFX project using IntelliJ but it fails with the exception :
Error: JavaFX runtime components are missing, and are required to run this application
I have downloaded JDK 11 here : http://jdk.java.net/11/
I have…

Maxoudela
- 2,091
- 3
- 15
- 23
45
votes
3 answers
How to deploy a JavaFX 11 Desktop application with a JRE
I have a JavaFX (JDK 8) desktop business application, which uses Java Web Start for deployment. Users have Java 8 installed, and they simply go to the URL (a public URL on my AWS Linux server) and the application downloads / starts (using Web…

mcs75
- 479
- 1
- 5
- 6
26
votes
1 answer
Package a non-modular JavaFX application
I have a Java 8 application, that uses JavaFX and where the main class extends
javafx.application.Application . Currently, I deliver it as a fat jar and it runs fine on Oracle Java 8.
Now I want it to be able to run on OpenJDK 11. To add JavaFX, I…

taranion
- 631
- 1
- 6
- 17
23
votes
3 answers
Running JavaFX application with JDK 11+
If I understand Oracle's announcments JavaFX won't be included to the JDK beginning with JDK 11 and will be only available as OpenJFX.
What steps do I have to make as an software developer to allow my JavaFX application to be run with JDK 11+? Is…

Hannes
- 5,002
- 8
- 31
- 60
19
votes
4 answers
Install openJDK+openJFX 8 on Ubuntu 20
I'm trying to install OpenJDK 8 and OpenJFX 8 on Ubuntu 20.10.
Installing openJFX 8 has always been a little tricky on Ubuntu, but I used to be able to do it using the tip from this SO answer: https://stackoverflow.com/a/56166582/2423283 That used…

NateW
- 908
- 1
- 8
- 28
19
votes
1 answer
Getting a javaFX 11 app to work on docker
I am trying to get an application that works perfectly on my machine to run on docker, here is my docker file :
FROM openjdk:11-jre-slim
VOLUME /tmp
ADD someJar.jar someJar.jar
ADD lib lib
ADD config.properties config.properties
ENTRYPOINT ["java",…

Martin
- 1,977
- 5
- 30
- 67
19
votes
3 answers
How do I get Java FX running with OpenJDK 8 on Ubuntu 18.04.2 LTS?
When trying to compile an JavaFX application in the environment:
java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
cat…

Wolfgang Fahl
- 15,016
- 11
- 93
- 186
19
votes
2 answers
Running javafx sample on JDK 11 with OpenJFX 11 JMODS on Module Path
I have downloaded the JavaFX Jmod files from OpenJFX project and placed them in the directory G:\openjfx\javafx-jmods-11. I am using OpenJDK 11 which has no JavaFX jmod in JAVA_HOME/jmods i.e it doesn't come with JavaFX distribution.
Module info…

MohamedSanaulla
- 6,112
- 5
- 28
- 45
15
votes
4 answers
How to open JavaFX .jar file with JDK 11?
I created a JavaFX project in IntelliJ.
I can run project in IntelliJ. I added below code in Configurations):
--module-path ${PATH_TO_FX} --add-modules=javafx.controls,javafx.fxml
But the output .jar file of project (made with Artifects) doesn't…

DrMorteza
- 2,067
- 2
- 21
- 29
12
votes
1 answer
Maven dependency for JavaFX using OpenJDK 1.8
Environment:
OS: For developing and running the application, both Windows 10 Pro (1809) and Linux (something like Ubuntu or Debian) with OpenJDK 1.8 and Maven installed will be used.
JDK: OpenJDK 1.8
IDE: IntelliJ Ultimate
Build tool Maven…

KasparJohannes
- 520
- 2
- 7
- 26
12
votes
2 answers
OpenJFX support for 32-bit systems
I would like to build my JavaFX app for Windows x86 arch. So I've downloaded Adopt OpenJdk 32-bit build and used it to create Java Runtime Image. When I'm trying to run application I get the following error:
Loading library…

Evan
- 649
- 1
- 9
- 22
11
votes
2 answers
I can't debug an application using netbeans 11 with JavaFX 12
I've downloaded netbeans 11 with support for java 12
So I followed up the steps from the Gluon webpage running JavaFX and Netbeans Non modular with maven > https://openjfx.io/openjfx-docs/#next-steps
I have configured as showed in the instructions…

Alex
- 124
- 1
- 9
10
votes
2 answers
Problems with touch input and OpenJDK 11 with JavaFX 11
I'm working on a JavaFX project and would like to switch from Oracle JDK 1.8 to OpenJDK 11. So far the transition has been pretty seamless, but there is still one main problem related to touch/mouse input that's causing some trouble.
The JavaFX UI…

jln-ho
- 136
- 1
- 10
9
votes
2 answers
JavaFx in oracle JDK 8 is same as openjfx 8 versions or not? what is the relationship between javafx in oracle jdk 8 and openjfx8?
We are moving from Oracle jdk8 to OpenJDK 8. But our system has JavaFX code, which needs to migrate from JavaFX to OpenJFX.
I wonder what is the relationship between JavaFX in Oracle jdk8 and openjfx8. Can anyone explain for me?

liya
- 156
- 3
- 10