Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #22438
| Path | csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Fri, 22 Feb 2013 03:05:37 -0600 |
| Date | Fri, 22 Feb 2013 09:05:35 +0000 |
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
| Organization | Trollbusters 3 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: two JARs |
| References | <69022de5-1be1-42a1-8c2b-2c5c8f96d532@googlegroups.com> |
| In-Reply-To | <69022de5-1be1-42a1-8c2b-2c5c8f96d532@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Message-ID | <FMednQp8ufV8qbrMnZ2dnUVZ8jednZ2d@bt.com> (permalink) |
| Lines | 46 |
| X-Usenet-Provider | http://www.giganews.com |
| X-AuthenticatedUsername | NoAuthUser |
| X-Trace | sv3-7N7TuHsUXmpf8vOmlUOGgmbPdUvzpuFRfMZVx7wKiiTCQqQ796EKr3mu7ygxVi6ZBEFlerNbXZHcvoY!NxWssemelOI882qSeooU1DcuBMg5mS9INppew8dLXROf9ujn/SR/QmSChrz19m4IieW9UcP9rfk= |
| X-Complaints-To | abuse@btinternet.com |
| X-DMCA-Complaints-To | abuse@btinternet.com |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2775 |
| Xref | csiph.com comp.lang.java.programmer:22438 |
Show key headers only | View raw
On 21/02/13 22:30, bob smith wrote: > I downloaded the JBox2d library, and I see that there are two JARs: one that ends in the name "sources" and one that doesn't. > > > jbox2d-library-2.1.2.3-sources.jar > jbox2d-library-2.1.2.3.jar > > > Can someone help me understand exactly what a seasoned Java programmer would expect to be in each of these JARs? I'm a little confused. I don't know which one to use. To look inside a jar file you can use the jar application distributed with your jdk jar -tf <filename> from a terminal prompt lists the contents of a jar file to standard out by default on my Linux system I would do $ jar -tf jbox2d-library-2.1.2.3.jar > foo.txt this would dump the listing into a text file that I could inspect later I imagine Windows has a similar redirection feature. You don't need winzip or foojar or winjar or winfoo or any other piece of frippery, your jdk comes with everything you need. I would expect jbox2d-library-2.1.2.3.jar to contain .class files plus possibly some optional properties or config files I would expect jbox2d-library-2.1.2.3-sources.jar to contain .java source files. Now wait a minute ... yep, that's what I see. There is some maven crap in the library but the source jar is all java source code. You would use jbox2d-library-2.1.2.3.jar in your classpath. BTW you can also use jar to unpack zip files. HTH lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
two JARs bob smith <bob@coolfone.comze.com> - 2013-02-21 14:30 -0800
Re: two JARs Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-21 14:44 -0800
Re: two JARs Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-02-21 14:58 -0800
Re: two JARs Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-21 19:12 -0400
Re: two JARs markspace <markspace@nospam.nospam> - 2013-02-21 15:34 -0800
Re: two JARs Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-21 19:45 -0400
Re: two JARs markspace <markspace@nospam.nospam> - 2013-02-21 16:29 -0800
Re: two JARs Roedy Green <see_website@mindprod.com.invalid> - 2013-02-21 15:25 -0800
Re: two JARs Lew <lewbloch@gmail.com> - 2013-02-21 18:25 -0800
Re: two JARs Roedy Green <see_website@mindprod.com.invalid> - 2013-02-21 23:59 -0800
Re: two JARs Magnus Warker <warker@mailinator.com> - 2013-02-22 11:38 +0100
Re: two JARs Arne Vajhøj <arne@vajhoej.dk> - 2013-02-22 10:26 -0500
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-22 09:24 +0000
Re: two JARs Arne Vajhøj <arne@vajhoej.dk> - 2013-02-22 10:56 -0500
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-22 16:24 +0000
Re: two JARs Lars Enderin <lars.enderin@telia.com> - 2013-02-22 18:54 +0100
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-22 18:38 +0000
Re: two JARs Arne Vajhøj <arne@vajhoej.dk> - 2013-02-22 14:15 -0500
Re: two JARs Lew <lewbloch@gmail.com> - 2013-02-22 11:15 -0800
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-22 19:47 +0000
Re: two JARs Arne Vajhøj <arne@vajhoej.dk> - 2013-02-22 15:05 -0500
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-23 08:44 +0000
Re: two JARs Lew <lewbloch@gmail.com> - 2013-02-23 11:36 -0800
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-23 20:03 +0000
Re: two JARs Lew <lewbloch@gmail.com> - 2013-02-23 12:32 -0800
Re: two JARs Martin Gregorie <martin@address-in-sig.invalid> - 2013-02-23 18:46 +0000
Re: two JARs Lars Enderin <lars.enderin@telia.com> - 2013-02-23 23:30 +0100
Re: two JARs Arne Vajhøj <arne@vajhoej.dk> - 2013-02-24 13:38 -0500
Re: two JARs lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-22 09:05 +0000
csiph-web