
Hello Sir, I developed a java swing application .Now i want to execute it as .exe setup file .As per my knowledge i have to run .jar file from dist folder of netbeans but when i am trying to run from there i am getting error "Could not find the main class program will exit" from "java virtual machine".
Plz help me to complete this work . thank you Sir.

vikas set the main class in your project right click on project go to properties and run browse there for main class and rebuild the application after it when you will the jar file in dist that will surely run