Questions tagged [openjfx]

202 questions
79
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
  • 1,622
  • 2
  • 11
  • 19
30
votes
2 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
  • 319
  • 1
  • 3
  • 6
22
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
  • 4,292
  • 7
  • 25
  • 48
19
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
  • 501
  • 1
  • 3
  • 13
17
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,265
  • 2
  • 17
  • 48
16
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
  • 5,802
  • 5
  • 25
  • 42
15
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
  • 12,097
  • 9
  • 75
  • 150
13
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
  • 1,807
  • 1
  • 14
  • 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
  • 479
  • 6
  • 17
10
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
  • 568
  • 3
  • 22
10
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
  • 115
  • 1
  • 8
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
  • 146
  • 9
9
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
  • 449
  • 2
  • 6
  • 20
8
votes
5 answers

Transparent JavaFX stage capture scrolling events if there is another window behind

Mouse events and scroll events behave in different ways Mouse Events: The event is captured by mainStage The event is captured by mainStage The event is not captured Scroll Events: The event is captured by mainStage The event is captured by…
geh
  • 121
  • 10
8
votes
2 answers

JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)

I have a problem with my modular JavaFX application. I created a JavaFX project and added the JavaFX lib and JavaFX modules get recognized. However, I keep getting these error message: Error occurred during initialization of boot…
rizky ramadhan
  • 87
  • 1
  • 1
  • 3
1
2 3
13 14