Answer the question
In order to leave comments, you need to log in
How to run jar file in linux?
I built a JavaFX project using maven through Windows.
The jar file ran smoothly in cmd with the java -jar command.
I tried to run this jar via Linux, but I keep getting the error Could not find or load main class main.Main .
Linux newbie.
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