I ran my javafx jar in windows os. It worked in windows.
But , when I run in ubuntu it comes an error like this
Error : Could not find or load main class
Caused by : java.lang.NoClassDeffounderror javafx/application/Application
How can I solve this ?