title: Could not find or load main class when running JAR on Ubuntu
body: <p>I ran my javafx jar in windows os. It worked in windows.</p>
  <p>But , when I run in ubuntu it comes an error like this</p>
  <pre><code>Error : Could not find or load main class
  Caused by : java.lang.NoClassDeffounderror javafx/application/Application 
  </code></pre>
  <p><a href="https://i.stack.imgur.com/JcgQF.png" rel="nofollow noreferrer">Error screen shot</a></p>
  <p>How can I solve this ?</p>