mohan raj v wrote:
jar file created successfully.while executing the jar file it is showing like "main class not found"
It means your main class(class with main method) has not configured properly in Manifest file, may be path/ package problem.
Have look at this.
harilal ithikkat wrote:
i think you can solve this problem by pressing ENTER button after typing main-class name.
i dont know what it really does.But it fixed my issue
Look at the link I had given, it clearly mention a note ,
Note: make sure you type a carriage return after this line; some windows systems need it and will report a "Failed to load Main-Class manifest attribute" error
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
Rocket Oven Kickstarter - from the trailbosshttps://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss