Main startup class could not be found

Srujan Simha picture Srujan Simha · Apr 11, 2013 · Viewed 11.7k times · Source

I have built an application using Swing and exported it as runnable jar file and converted it to .exe file. Its working fine in some systems, but in other systems a popup error is shown up saying "The main startup class could not be found" and the application exits.

Has anyone faced this kind of problem?

Answer

ashwinsakthi picture ashwinsakthi · Apr 11, 2013

Please check your generated Manifest file for classpath.

Check this link..."Could not find the main class" when double-clicking .jar file