Results 1 to 5 of 5
Hey guys, when I invoke the command java -jar jarfile.jar I get this msg:
failed to load Main-Class manifest attribute from (file)
Can you please tell me what this means? ...
- 02-18-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
I can't execute my jar files
Hey guys, when I invoke the command java -jar jarfile.jar I get this msg:
failed to load Main-Class manifest attribute from (file)
Can you please tell me what this means? Thanks
- 02-18-2008 #2
Is this a jar you packaged yourself, or one that you downloaded that you're trying to run? If it's one you made then I would take a look at this guide and make sure it's packaged correctly. The section that deals with the manifest would probably be particularly helpful to you.
- 02-18-2008 #3
- 02-20-2008 #4Just Joined!
- Join Date
- Jan 2008
- Posts
- 3
Actually I'm trying to unpack some files I downloaded. And yes, I do have java installed. Hmmm...
- 02-21-2008 #5
Now I'm confused. Are you trying to unpack a jar or execute it? To execute it, use the "java -jar" command. To unpack it, use the "jar" command. It should be installed if you have java installed. Typical usage would be:
Check the man page for more details.Code:jar xf yourjar.jar


Reply With Quote