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


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

Re: error discription and solution

From Joerg Meier <joergmmeier@arcor.de>
Newsgroups comp.lang.java.programmer
Subject Re: error discription and solution
Date 2014-03-03 11:56 +0100
Message-ID <dwfcxug8g4jg.1qivskyms464q.dlg@40tude.net> (permalink)
References (2 earlier) <xY-dnR_CKP87D5rOnZ2dnUVZ8sOdnZ2d@bt.com> <d2csg99t6f80cfueq2nr0430u2bnu168om@4ax.com> <bpGdncHeXqRa3ZPOnZ2dnUVZ8q-dnZ2d@bt.com> <va2juw1qwd15$.1k5tuuxq9sccs$.dlg@40tude.net> <97SdnYwVB7SC1onOnZ2dnUVZ8gednZ2d@bt.com>

Show all headers | View raw


On Mon, 03 Mar 2014 09:27:53 +0000, lipska the kat wrote:

> On 26/02/14 20:26, Joerg Meier wrote:
>> On Wed, 26 Feb 2014 19:30:12 +0000, lipska the kat wrote:
>>> Agreed, classpath confusions notwithstanding, (which IME can cause a lot
>>> of problems to noobs) Apache commons stuff is not so bad, you can get to
>>> the commons site and track down the relevant jar easily enough but
>>> trying to figure out which jar contains
>>> com.foobar.hidden.widget.PoopScoop and where to get it is a different
>>> matter altogether.
>> Jarfinder is helpful in these scenarios,
> I'm trying to get the Java DBus bindings to compile but I can't find the 
> required jars to compile the libraries and presumably the jars but there 
> are no jars etc etc etc

> git clone git://anongit.freedesktop.org/git/dbus/dbus-java

> $ make

> warning: [path] bad path element "/usr/share/java/unix.jar": no such 
> file or directory

If it used Maven, then it would at this point have downloaded everything
you needed. Of course, it would have downloaded it from the internet, which
you seem to find objectionable for some reason, yet here you are, looking
for a way to download these files in painstaking manual steps from the very
same internet.

> I just tried Jarfinder.com and it doesn't appear to do anything apart 
> from redirect to a 'not found' page.

Apologies, it is findjar.com, not jarfinder.com. I haven't used it ever
since I left Ant behind so my memory was a bit hazy.

>> although unless you are stuck in
>> the dark ages I recommend searching the Maven repository for the classname
>> before anything else.
> Yes, although it's difficult to know a classname without the jar ... 
> isn't it? I tried searching for some classes mentioned in the error 
> output but to no avail.

I'm honestly surprised that you are stumped by what even a cursory
knowledge of Java should have made trivial - simply remove the missing jars
from the class path, compile, and you will get the names and package names
of classes that are missing.

> I'm starting to think Roedy is correct, there needs to be a standard way 
> to find this stuff.

I agree. Luckily, the rest of the development world agreed that dependency
management was a pain, and came up with a solution:
<http://maven.apache.org/>

Sorry for the cheek, but you do seem to be primarily complaining that
nobody has invented Maven yet ;-)

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

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


Thread

error discription and solution Navneet Mathpal <navneetmathpal93@gmail.com> - 2014-02-20 00:59 -0800
  Re: error discription and solution Lew <lewbloch@gmail.com> - 2014-02-20 14:05 -0800
  Re: error discription and solution Roedy Green <see_website@mindprod.com.invalid> - 2014-02-21 08:56 -0800
    Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-02-21 17:53 +0000
      Re: error discription and solution Roedy Green <see_website@mindprod.com.invalid> - 2014-02-26 10:22 -0800
        Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-02-26 19:30 +0000
          Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-02-26 21:26 +0100
            Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-02-26 21:19 +0000
              Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-02-26 23:04 +0100
              Re: error discription and solution leif.roar@invalid.com (Leif Roar Moldskred) - 2014-02-26 16:53 -0600
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-02-27 08:34 +0000
            Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 09:27 +0000
              Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-03-03 11:56 +0100
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 12:08 +0000
                Re: error discription and solution leif.roar@invalid.com (Leif Roar Moldskred) - 2014-03-03 06:26 -0600
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 12:44 +0000
                Re: error discription and solution leif.roar@invalid.com (Leif Roar Moldskred) - 2014-03-03 06:58 -0600
                Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-03-03 17:11 +0100
                Re: error discription and solution leif.roar@invalid.com (Leif Roar Moldskred) - 2014-03-03 10:17 -0600
                Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-03-03 17:39 +0100
                Re: error discription and solution Simon Lewis <simonlewis2001@gmail.com> - 2014-03-03 20:47 +0100
                Re: error discription and solution Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-03 17:04 -0500
                Re: error discription and solution "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-03-06 15:25 +0000
                Future of computing [Was: Re: error discription and solution] Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-06 12:03 -0500
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 17:21 +0000
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 17:18 +0000
                Re: error discription and solution leif.roar@invalid.com (Leif Roar Moldskred) - 2014-03-03 11:26 -0600
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 18:31 +0000
                Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-03-03 21:00 +0100
                Re: error discription and solution lipska the kat <lipskathekat@example.com> - 2014-03-03 20:19 +0000
                Re: error discription and solution Simon Lewis <simonlewis2001@gmail.com> - 2014-03-03 20:46 +0100
        Re: error discription and solution Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2014-02-26 23:39 +0200
          Re: error discription and solution Roedy Green <see_website@mindprod.com.invalid> - 2014-02-28 09:08 -0800
            Re: error discription and solution Joerg Meier <joergmmeier@arcor.de> - 2014-02-28 20:05 +0100
              Re: error discription and solution Gene Wirchenko <genew@telus.net> - 2014-02-28 15:29 -0800
  Re: error discription and solution Arne Vajhøj <arne@vajhoej.dk> - 2014-02-21 19:48 -0500

csiph-web