why "package org.apache.commons.io" does not exist?

Discussion in 'Java' started by www, Aug 21, 2007.

  1. www

    www Guest

    Hi,

    I am running somebody's code. The code has import at the top:

    import org.apache.commons.io.FileUtils;


    But the compiler complains that "package org.apache.commons.io does not
    exist". I want to add classpath to point to it. But I don't know where
    this package is located. How can I find out where it is located? Can you
    give me a hint?

    Thank you very much.
     
    www, Aug 21, 2007
    #1
    1. Advertisements

  2. On Tue, 21 Aug 2007 13:36:54 -0400, www wrote:
    > But the compiler complains that "package org.apache.commons.io does not
    > exist". I want to add classpath to point to it. But I don't know where
    > this package is located.


    Did you try Google?

    Download the package from here:
    http://commons.apache.org/

    Google would have told you this in less time than it took you to post.

    /gordon

    --
     
    Gordon Beaton, Aug 21, 2007
    #2
    1. Advertisements

  3. www

    bugbear Guest

    www wrote:
    > Hi,
    >
    > I am running somebody's code. The code has import at the top:
    >
    > import org.apache.commons.io.FileUtils;
    >
    >
    > But the compiler complains that "package org.apache.commons.io does not
    > exist". I want to add classpath to point to it. But I don't know where
    > this package is located. How can I find out where it is located? Can you
    > give me a hint?


    Here's a hint. Start with a web search.

    BugBear
     
    bugbear, Aug 22, 2007
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Chung-Jen Chuang
    Replies:
    1
    Views:
    4,253
    Ken Schaefer
    Aug 23, 2003
  2. Kevin Buchan
    Replies:
    0
    Views:
    3,755
    Kevin Buchan
    Feb 16, 2004
  3. Bill Johnson
    Replies:
    0
    Views:
    1,372
    Bill Johnson
    Jul 8, 2005
  4. LT
    Replies:
    7
    Views:
    2,330
    Phlip
    Jul 25, 2004
  5. Horace Nunley

    why why why does function not work

    Horace Nunley, Sep 27, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    697
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Sep 27, 2006
  6. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    1,347
    Mark Rae
    Dec 21, 2006
  7. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,796
    Smokey Grindel
    Dec 2, 2006
  8. Bill Johnson

    CS0234 Global does not exist ... but it genuinely does

    Bill Johnson, Jul 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    366
    Bill Johnson
    Jul 8, 2005
Loading...