Hello! I recently finished a program, and I want to make it into a jar executable file, but it always comes up with this message whenever I try to run the jar file that gets created:
Failed to load Main-Class manifest attribute from C:\Users\Computer\Documents\JCreator LE\MyProjects\Madlibs\classes\Madlibs.jar
This is what I have for the "Arguments" part of the "Create Jar File" tool:
cvf $[PrjName].jar manifest.txt *.class
This is what I have in the manifest file:
Main-Class: Project
There is a new line after that, and the class is indeed named "Project." I'm really not sure why it can't load it. Can anyone help? Thanks in advance!


LinkBack URL
About LinkBacks
Reply With Quote