title: Running executable jar file from command prompt
body: <p>How to run a jar file which holds a java program from command prompt?</p>
  
  <p>Getting following exception while trying to run</p>
  
  <hr>
  
  <p>Exception in thread "main" java.lang.NullPointerException at sun.launcher.LauncherHelper.getMainClassFromJar(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)</p>
  
  <hr>