Questions tagged [openjfx]

229 questions
3
votes
1 answer

OpenJFX Maven archetype does not exist?

I tried to create a JavaFX maven project following the official doc (chapter IntelliJ with maven, non modular project). I replaced as outlined the archtype artififact id as : javafx-archetype-simple but when I try to create a project using the…
Ombrelin
  • 547
  • 1
  • 8
  • 27
3
votes
1 answer

Spring data jpa with java FX

I'm using Spring JPA with OpenJFX. It's this project JavaFX-weaver, simply adding spring-boot-start-data-jpa inside pom. However my starting time of Spring JPA is 15-20s and the UI will not show until spring is initalized. When users will start the…
user182410
  • 151
  • 2
  • 8
3
votes
1 answer

Failed to load Glass factory class - OpenJDK OpenJFX on Windows

I'm trying to run a JavaFX app on Windows. It runs fine on Ubuntu. But on Windows I'm getting the error "Failed to load Glass factory class". A Class Not Found Exception. edit... It seems JavaFX jars are not cross platform. Compiling on Linux…
Harley
  • 1,305
  • 1
  • 13
  • 28
3
votes
2 answers

JavaFX 14, Stacked Bar chart does not display negative values

Example: import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.chart.CategoryAxis; import javafx.scene.chart.NumberAxis; import javafx.scene.chart.StackedBarChart; import javafx.scene.chart.XYChart; import…
wyit
  • 363
  • 1
  • 3
  • 10
3
votes
2 answers

Getting Error: JavaFX runtime components are missing, and are required to run this application while opening executable jar

I've build executable jar using NetBeans IDE 11.0 but when I open jar using : hemlata@hemlata-pc:~/NetBeansProjects/Sizing/dist$ java -jar Sizing.jar I'm getting Error: JavaFX runtime components are missing, and are required to run this…
Hemlata
  • 367
  • 1
  • 3
  • 13
3
votes
1 answer

How to generate executable jar in JavaFX with maven project

I can't run generated jar file. Here's my error output: no main manifest attribute, in myapp.jar Here is my pom.xml file: org.openjfx
Nyamkhuu Buyanjargal
  • 621
  • 2
  • 11
  • 29
3
votes
2 answers

JavaFX Export and VM arguments

I have the problem that I just can't export my JavaFX application. I can get it running with the VM arguments (inside the IDE and outside) but that's far from optimal. I want a simple "click to open" experience. Error: JavaFX runtime components are…
user10170559
3
votes
1 answer

Bundling JRE 8 and JavaFX application

We wrote a JavaFX application using JDK8 and we would like now to deploy our app not only using the jar file but also alternatively providing a zip file that bundles: the jar file my.jar a .bat (or .sh) file that simple does .\jre\bin\java.exe -jar…
tmanolatos
  • 932
  • 10
  • 16
3
votes
0 answers

"class file has wrong version 54.0, should be 52.0" while trying to build JavaFX application

I wanted to download Openjfx for my Java application. I downloaded it with the command sudo apt-get install openjfx I get the following mentioned error. I have seen this question but I only have jdk 8 and openjfx version 11.0.2 . I have also seen…
elams
  • 99
  • 1
  • 10
3
votes
1 answer

Netbeans 11 how to add a library to a project when "Libraries" node is missing?

I am trying to run a simple java fx example with Maven on Netbeans 11 with openjdk 11. I followed the OpenJfx tutorial up to the creation of JavaFx as a global library. But then when I want to add this global library to my project, the "libraries"…
HelloWorld
  • 2,275
  • 18
  • 29
3
votes
1 answer

OpenJFX chopping dialog windows

I'm using Linux and trying to switch from Oracle's JDK to OpenJDK and OpenJFX, but I'm having severe problems with JavaFX applications. Take for example this simple program: import javafx.application.Application; import…
3
votes
1 answer

Is it possible to use javapackager on ZuluFX for Mac

I was able to use ZuluFX 8 with javapackager on Windows. However, on a Mac I get this error: Bundler Mac Application Image skipped because of a configuration problem: Cannot determine which JRE/JDK exists in the specified runtime directory. …
Shai Almog
  • 51,749
  • 5
  • 35
  • 65
3
votes
1 answer

jdeps command failing when trying to resolve OpenJFX jmods

I am trying to run a jdeps command on a project that uses OpenJFX, but it keeps failing. The command I am using, simplified as much as I can: jdeps --module-path Y:\javafx-jmods-11.0.2 --add-modules javafx.base Test.jar javafx-jmods-11.0.2 is a…
Chatoyancy
  • 143
  • 1
  • 17
3
votes
1 answer

HeadlessException in JavaFX on MacOS X with OpenJDK 10 and OpenJFX

I'm getting the error java.awt.HeadlessException: null at java.desktop/java.awt.Desktop.getDesktop(Desktop.java:306) ~[na:na] when calling Desktop.getDesktop().open(pdfFile); I am using OpenJDK with this version java 10.0.2 2018-07-17 Java(TM)…
Harold L. Brown
  • 8,423
  • 11
  • 57
  • 109
3
votes
2 answers

Cannot Launch JavaFX application in IntelliJ with Java 11

I am trying to create a JavaFX application with IntelliJ and Java 11. I can compile the application correctly, but when I try to debug it, I get the following error: Exception in Application start method java.lang.reflect.InvocationTargetException …
Miguel Mesquita Alfaiate
  • 2,851
  • 5
  • 30
  • 56