Answer the question
In order to leave comments, you need to log in
How to run java program in .jar format?
How to run this program https://github.com/Saki-EU/XiaomiADBFastbootTools/...
Ubuntu 18.04, Google says run like this -
$ java -jar XiaomiADBFastbootTools.jar
Error: Could not find or load main class app.XiaomiADBFastbootTools
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
OpenJDK 64 -Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)
PS
$ sudo apt install openjfx
openjfx is already the newest version (8u161-b12-1ubuntu2).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question