B4J Question [SOLVED] Running jar on Ubuntu Linux 18.04

Discussion in 'B4J Questions' started by aeric, May 24, 2018.

  1. aeric

    aeric Active 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.

    MyB4JApp.png
     
  2. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Openjdk does not contain javafx. You have to install it separately. It is just some extra steps
     
    Erel likes this.
  3. aeric

    aeric Active Member Licensed User

  4. Knoppi

    Knoppi Active Member Licensed User

  5. Erel

    Erel Administrator Staff Member Licensed User

  6. jmon

    jmon Well-Known Member Licensed User

    Erel likes this.
  7. aeric

    aeric Active Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice