How to install Apache POI

Reply

Join Date: Sep 2006
Posts: 80
Reputation: parthiban is an unknown quantity at this point 
Solved Threads: 6
parthiban's Avatar
parthiban parthiban is offline Offline
Junior Poster in Training

How to install Apache POI

 
0
  #1
Jan 18th, 2007
Hi all,

I have download Apache POI(2.5.1) to convert a Excel file to XML using NetBeans5.0 . After Unzipping i got three Executable JAR files 1.poi-2.5.1-final 2.poi-contrib-2.5.1 3.poi-scratch-2.5.1 Please tell what steps i have to do to install it (or) just it's enough to just point out that JAR files in Netbeans ? How i have to configure it in Netbeans.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: How to install Apache POI

 
0
  #2
Jan 18th, 2007
follow the instructions.
They're NOT executable jars, they're the stuff you need on your classpath to use the library.

You may also need to have some configuration file, but the instructions that come with the library will tell you what and where.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 80
Reputation: parthiban is an unknown quantity at this point 
Solved Threads: 6
parthiban's Avatar
parthiban parthiban is offline Offline
Junior Poster in Training

Re: How to install Apache POI

 
0
  #3
Jan 20th, 2007
Thanks Jwenting ,

I set the path and it's now working fine.

One more question , i download JOnAs 4.8.4-tomcat5.5.17 and installed by setting JONAS_ROOT and ANT_HOME.

When i check the environment using "jonas check" i'm getting following message

" The system cannot find the path specified.
The system cannot find the path specified.
JONAS_BASE is set to
'-Dinstall.root' is not recognized as an internal or external command,
operable program or batch file.
"

As i already told i have Netbeans 5.0 it has also have bundled tomcat . is that cause any problem ?

How can i resolve this problem ?

Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: How to install Apache POI

 
0
  #4
Jan 20th, 2007
no, it can't find something.
Those messages aren't complete so it's impossible for me to know what it can't find, but it can't find something.
You did set JAVA_HOME I hope?
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 80
Reputation: parthiban is an unknown quantity at this point 
Solved Threads: 6
parthiban's Avatar
parthiban parthiban is offline Offline
Junior Poster in Training

Re: How to install Apache POI

 
0
  #5
Jan 26th, 2007
Yes , i set JAVA_HOME and also JONAS_HOME , ANT_HOME but when i type "ant" in command prompt I'm getting the following message.

"Buildfile: build.xml does not exist!
Build failed"

i also didn't find buil.xml in ANT_HOME/bin directory
what's the problem ?
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 353
Reputation: aniseed is an unknown quantity at this point 
Solved Threads: 6
aniseed's Avatar
aniseed aniseed is offline Offline
Posting Whiz

Re: How to install Apache POI

 
0
  #6
Jan 26th, 2007
build.xml could be in the current directory (the directory where you are executing the command). If your build script is named something else, you can specify that with ant too.
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 80
Reputation: parthiban is an unknown quantity at this point 
Solved Threads: 6
parthiban's Avatar
parthiban parthiban is offline Offline
Junior Poster in Training

Re: How to install Apache POI

 
0
  #7
Jan 26th, 2007
Thanks aniseed .
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC