Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Linking Jars Date: Sun, 4 Dec 2011 10:37:37 -0800 (PST) Organization: http://groups.google.com Lines: 31 Message-ID: <15907460.104.1323023857826.JavaMail.geo-discussion-forums@prfi36> References: <9k0vruFa01U1@mid.individual.net> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 173.164.137.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1323023858 7730 127.0.0.1 (4 Dec 2011 18:37:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 4 Dec 2011 18:37:38 +0000 (UTC) In-Reply-To: <9k0vruFa01U1@mid.individual.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10491 Robert Klemme wrote: > Roedy Green wrote: >> Roedy Green wrote, quoted or indirectly quoted someone who said : >>> Are there any other options? >> >> for example, is there something you can put in the main jar that >> points to the second? > > Exactly. And it would be my first choice. > > http://docs.oracle.com/javase/1.4.2/docs/guide/jar/jar.html#Main%20Attributes I assume your point in using a 1.4 version of the docs is to indicate how long this information has been documented in the standard reference. Amazing what the documentation can reveal if one were *ACTUALLY TO READ IT*. I do think one should link to current versions of the docs most of the time, though. For example, No matter how long you've been programming in Java, the tutorials are valuable and for such elementary questions make a great starting point. For the "main attributes" of the JAR manifest that you linked, that current version seems to be http://docs.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Main%20Attributes I encourage everyone to read the documentation. Repeatedly. Reviewing the basics is necessary. -- Lew You don't have to be a "language lawyer" (whatever the F that is) to read the JLS.