B4J Question [SOLVED] Running jar on Ubuntu Linux 18.04


Well-Known Member
Licensed User
My B4J app runs on Windows 7. I try to install Ubuntu Linux 18.04 Desktop 64bit on VirtualBox and see whether my app runs on it. The jar is compiled using B4J version 6.01. I install Java JRE and OpenJFX.

java -version
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)

aeric@ubuntu:~/Documents$ java -jar MyB4JApp.jar
Error: JavaFX runtime components are missing, and are required to run this application

Double-click doesn't work even I choose OpenJDK Java 8 Runtime or OpenJDK Java 11 Runtime.



Well-Known Member
Licensed User