• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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).
 
Uh oh, we're definitely being carded. Here, show him this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic