hi guys,
i have a problem with executing my javafx-project on the pi. I write my code with Eclipse on my Win 10 PC and created a runnable jar-file. I copied the jar file to the raspberry via SSH. Now when I try to execute it with:
java -jar /home/pi/project/HelloPi.jar
I get a "Error: Could not find or load main class application.Main"
In the Java Project I have a "Main" and a "MainController" file.
Why does it not find my main class and how can I solve this problem?
P.S. I´ve done the same with a normal jar file(not javaFX) and it does work!