• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jakarta POI help

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone have any experience downloading and installing the Jakarta POI? I have download the poi-bin-2.5.1-final-20040804.tar.gz and extracted to. I know I need to look for the Jakarta-commons.jar file and include the path in my classpath enviroment variable, either I downloaded the wrong thing or I have missed a step, I cannot find the file anywhere in my PC. Any help would be appreciated.
Thanks,
Jesse
 
Ranch Hand
Posts: 2412
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There should be a file called poi-2.5.1-final-20040804.jar
 
Jesse Walker
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, do I need to include that in my classpath, with a reference to the extact file or just the directory where it is stored in
 
Keith Lynn
Ranch Hand
Posts: 2412
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need the entire absolute path of the jar file in your CLASSPATH.

For example, if the poi-2.5.1-final-20040804.jar file is in /poi, then you would need something like

javac -classpath "...:/poi/poi-2.5.1-final-20040804.jar" file.java


where ... is whatever is currently in your CLASSPATH. (Here the : assumes you are using *nix).
 
reply
    Bookmark Topic Watch Topic
  • New Topic