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: newbie question: specifying jar-files in the classpath



Florian Schneider wrote:

>when I use the -classpath option of the java command to specify jar- files,
>do the manifest-files of the jars have to contain special entries that
>describe their content?

Your question is vague, and the cited URL doesn't mention anything about
special entries that describe content, so I don't really understand what
you're asking, although I think the answer is "No," simply because a jar's
manifest doesn't HAVE to contain much of anything.  If you WANT the
manifest to have certain characteristics, or to cause certain things to
occur, then it does have to contain entries for those things you want.  But
since you didn't say what you want, we can't suggest what entries to put in
the manifest.  Please describe what you want to accomplish.

I suggest reading the jar and manifest spec if you have questions about the
content of jars and manifests:

1.5 JAR/Manifest spec:
  <http://java.sun.com/j2se/1.5/docs/guide/jar/jar.html>

1.4 JAR/Manifest spec:
  <http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html>

  -- GG


 _______________________________________________
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



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.