Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Failed to load Main-Class manifest attribute"



Greg Guerin said:

>First, look in xmlpad.jar:
>  jar xf xmlpad.jar META-INF
>
>That will extract everything in the META-INF dir of the jar, which includes
>the manifest if there is one.  If there isn't one, then you know that's the
>problem.  If there is one, then open it in TextEdit and see what's in it

It just says this:
"Manifest-Version: 1.0

Created-By: 1.4.1_01 (Sun Microsystems Inc.)"

So no main then I suppose. I kinda expected OS X to support mainclassless
jars, if those are allowed on other platforms. Is a main class mandatory
with the Hotspot JVM that OS X use?





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: "Failed to load Main-Class manifest attribute" (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.