• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Failed to load Main-Class manifest attribute"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: "Failed to load Main-Class manifest attribute"
  • From: Andrew Thompson <email@hidden>
  • Date: Tue, 21 Dec 2004 08:48:42 -0500


On Dec 21, 2004, at 6:27 AM, Mieke Banderas wrote:

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?

The specification for a manifest in a JAR file allows it to contain a Main-Class: attribute, but it doesn't have to have one.
After all, not all JARs are complete applications, some are only a part of an application, so it makes sense that you can only run some JARs and not all JARs.


Mac OS X does support the Main-Class: attribute, but as you've just told us, there isn't one in xmlpad.jar, so its not a runnable JAR.

At this point I think you need to read whatever documentation came with this application and see if it explains how to start the application. (sorry, I didn't see any of the earlier messages in this thread, so I don't know what it is or where you got it.)


AndyT (lordpixel - the cat who walks through walls) A little bigger on the inside

        (see you later space cowboy ...)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSFilePromisePboardType
  • Next by Date: Fwd: Cocoa and bit handling
  • Previous by thread: Fwd: Cocoa and bit handling
  • Next by thread: RE: Re: Midisport and sysex
  • Index(es):
    • Date
    • Thread