I am not sure I can upgrade the jdk from 1.4 to 1.6. I will have to do some testing to make sure my core application is not impacted.
What are my options to use POI using jdk 1.4. Can I use a POI version prior to 3.5 (example 3.2) 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/24/2009 10:43 AM Please respond to "POI Users List" <[email protected]> To "POI Users List" <[email protected]> cc Subject Re: First time user of the POI Hi Reji, >> The build fails. Here is the log. >> >> Unable to locate tools.jar. Expected to find it in C:\Program >> Files\Java\jre6\lib\tools.jar > > Are you sure you have the JDK installed? > > However, looking back at your original error of > UnsupportedClassVersionError, that's almost always caused by trying > to use a library / class built on a newer JDK with an older JVM (a > newer JVM's always fine though). In the case of POI 3.5, you need > Java 1.5 or newer. The error you received is almost always caused by > people trying to run POI 3.5 on Java 1.3 or 1.4 As Nick points out, and as you confirmed you are running Java 1.4. You need to install Java 1.5 or 1.6. You do not need to build POI yourself. Sorry for any confusion. Let us know how you do with a newer JDK. I'll be considering improvements in the poi site to help the next person who encounters your issue. This will at least be on the FAQ page, and possibly on the Build. Regards, Dave > > Nick > > --------------------------------------------------------------------- > 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]
