Women in Technology

Hear us Roar



Article:
  Reading and Writing Excel Files with POI
Subject:   Use POI
Date:   2004-07-28 15:30:04
From:   arpanshah78
Thank you for this wonderful article. But anyone tell after I download zip file from internet, how can I use the POI. There should be some classpath set so that when we compile java program that uses POI package, the compiler knows where to find the package.


Thanks,
Arpan

Full Threads Newest First

Showing messages 1 through 3 of 3.

  • Use POI
    2005-01-18 19:07:11  Namrata [View]

    Hi Arpan

    you just have to add the file called "poi-2.5.1-final-20040804.jar" to your classpath ...note that filename may vary depending upon the version you have downloaded for the poi package .

    i would suggest you to download the latest vesion from jakarta POI binary realease page which is

    1.download "poi-bin-2.5.1-final-20040804.zip"
    file
    2.extract it to the folder say
    c:\poi-bin-2.5.1-final-20040804
    3. and then simply add to the classpath..
    "c:\poi-bin-2.5.1-final-20040804\poi-2.5.1-final-20040804.jar"


    thats it .
    Namrata Ganatra

    • Use POI
      2006-02-07 21:45:23  harikirankams [View]

      Hi,
      Just need some help if u can please for working on POI. i have downloaded the "poi-bin-2.5.1-final-20040804.zip" from the internet and extracted it to c:\poi. i have set the class path to this directory which contains the poi-bin-2.5.1-final-20040804.jar file. but i am still unable to compile the file . when i am comiling it says the package is not found.please share any info .
      regards
      Hari Kiran
    • Use POI
      2006-10-19 20:48:14  zinggo [View]

      Hy namrata,
      I already set the classpath as u said abvoe. I put that file in C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\poi-2.5.1-final-20040804.jar;
      But when i try compile sample program error occur. one of ther error is import org.apache.poi.hpsf.* is not exist.

      I really apreciate to all of ur guide..thanks