I have created an Ubuntu 22.04 virtual machine in virtual box and I tried to see how a b4j app I have created is displayed in linux.
I have gone to the thread of B4JPackager 11 and downloaded the jdk-11.0.1 Java for linux and unziped it. Now I have the following structure in linux.
I try to run it from this directory "/home/{username}/B4X" with the following command:
and I get this result:
Error: JavaFX runtime components are missing, and are required to run this application
I check in the jdk-11.0.1 and the javafx are in there. Am I doing something wrong. In Ubuntu 20.04 it used to run like a charm without messing with it in any way if I recall correctly. Any suggestions anyone?
I have gone to the thread of B4JPackager 11 and downloaded the jdk-11.0.1 Java for linux and unziped it. Now I have the following structure in linux.
/home/{username}/B4X/jdk-11.0.1
/home/{username}/B4X/DHQI_Prog
I try to run it from this directory "/home/{username}/B4X" with the following command:
./jdk-11.0.1/bin/java -jar ./DHQI_Prog/result.jar
and I get this result:
Error: JavaFX runtime components are missing, and are required to run this application
I check in the jdk-11.0.1 and the javafx are in there. Am I doing something wrong. In Ubuntu 20.04 it used to run like a charm without messing with it in any way if I recall correctly. Any suggestions anyone?