Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22469

Re: two JARs

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: two JARs
Date 2013-02-23 18:46 +0000
Organization UK Free Software Network
Message-ID <kgb2q0$fb4$1@localhost.localdomain> (permalink)
References <69022de5-1be1-42a1-8c2b-2c5c8f96d532@googlegroups.com> <i7bdi89acbi9jd9ue4v3u7i8g7d6a5lkpr@4ax.com> <5e625e1e-0f7b-428b-abc9-bc9c35790e30@googlegroups.com>

Show all headers | View raw


On Thu, 21 Feb 2013 18:25:37 -0800, Lew wrote:

> Roedy Green wrote:
>> bob smith wrote, quoted or indirectly quoted someone who said :
>>> 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.
> 
> Use them both - the "sources" JAR for the source code and the other one
> for the actual classes.
> 
> In general, a "seasoned Java programmer" would expect "foo-dah-lily.jar"
> to be suitable for insertion into the classpath, and
> "foo-dah-lily-source.jar" (or "...sources.jar") to contain the source
> files. Hence the word "source[s]" in the JAR name. Logical, huh?
> 
>> look inside them with WinZip.  Presumably sources contains .java files
>> and the other .class files.
> 
> WinZip?
> 
> What if he's not using Windows?
>
In Linux (and most unices, so also BSD - but I don't know what OS X does) 
you can use the 'unzip' command line utility as well as 'jar' to test the 
jar file, list its contents or extract files from it. 

Alternatively, in most Linuxes, clicking on the .jar file in the File 
Manager window will start an Archive Manager so you can review, extract  
and/or view the contents of files in the archive. In Fedora that is 
Xarchiver and the file associations default to using it open jar files.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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