Hi Dave, Thank you for your help. I am still not clear. Here is my directory structure
Ant is installed in C:\work\ant\apache-ant-1.7.1 POI is unzipped into C:\work\poi-3.5-FINAL In step 2 below, what is the top level directory? Is this the top level directory where POI is installed? In my case would that be C:\work\poi-3.5-FINAL? I do not see a build.xml file in the C:\work\poi-3.5-FINAL directory or am I looking in the wrong place? Reji Joseph GOODYEAR ENGINEERED PRODUCTS Manufactured and Marketed exclusively by Veyance Technologies, Inc. 972-724-6267 (home/work) / 817-704-0016(work) 817-797-0091(cell) David Fisher <[email protected]> 11/23/2009 05:45 PM Please respond to "POI Users List" <[email protected]> To "POI Users List" <[email protected]> cc Subject Re: First time user of the POI 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]
