Hi,

I just rewrote this page: http://poi.apache.org/howtobuild.html You probably read this already.

Here is what you need to do.

(1) Make sure ant is in your path:

PATH= ... /apache-ant-1.7.1/bin

(2) While in the same top level directory with the file "build.xml" type in this at command:

ant compile jar

(3) Find the jar files in build/dist/.

build/dist/poi-3.5-FINAL-20091123.jar

Regards,
Dave

On Nov 23, 2009, at 2:40 PM, madrasreji wrote:


I have a need to read an excel file from a java application. Here is what I
have done so far.
I have unzipped the poi-3.5.-FINAL zip file and downloaded the 1.7 version
of ANT

My java runtime version "1.6.0_14

I added the jar file poi-3.5-FINAL-20090928.jar file to my project and run some some test code in a java application. I get the following message.

Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/poi/poifs/filesystem/POIFSFileSystem (Unsupported major.minor
version 49.0)

Is this because I need to rebuild the code using my jdk 1.6. This is where I am not sure how to proceed. I am a beginner in using ANT, so some detailed
instructions would really help. Thanks in advance for your help.

--
View this message in context: 
http://old.nabble.com/First-time-user-of-the-POI-tp26487414p26487414.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to