Hey everyone :)
So I exported my project to a jar file and when I try to run it, then it gives this error
Failed to load Main-Class manifest attribute from
How can i fix it?
Printable View
Hey everyone :)
So I exported my project to a jar file and when I try to run it, then it gives this error
Failed to load Main-Class manifest attribute from
How can i fix it?
This is probably because you have no Main-Class attribute specified in the manifest file.
How to make a JAVA application - executable JAR archive (Troubleshooting section)
Can you post the manifest file content here to see?
Got it working.
Added Main-Class: package.myclass to the manifest fail.
please explain I have same problem :s
Thanks
@post #4, you can find the explanation.
By the way, it is not the solution for your issue you better start a new thread.