POI is targeted towards Java 1.2.x (with 1.2.2+ as a strong suggestion, 1.3.1 is what I test on). Way back some time ago a proponent of old macintoshes got POI to run under 1.1.x by messing with all the string encoding stuff, and collections, but dunno about that. Marc and I were the only developers on the project at the time and were unenthusiastic about (and quite honestly I am too) maintaining two versions and suggested the contribution of a java/perl/shell script which would perform the operation, but we never heard from that person again.
If you're to compile POI under 1.1.x you'll most likely have to write your own build process as I suspect getting Centipede (which uses ant 1.5) to work with Java 1.1.x will be a daunting task. With a little perseverence I'm sure it can be done. No chance Domino can run with 1.2.x I suppose is there? -Andy I suspect that the build processes [EMAIL PROTECTED] wrote: >Hi, I am fairly new to Java. Ant is a black box/hole... I would like to use >POI HSSF to process speadsheets using Java on a Lotus Domno R5 server (JVM >1.1.8). At present I use Jacob (Java-COM Bridge http://danadler.com/jacob/ >). It works but I am concerned about possible memory leaks and performance >when handling a queue of 100's of speadsheets. I couldn't find a Java 1.1 >binary so I d/led the source and tried to build my own (hoping POI doesn't >use Java 2 specific classes). > >If I execute the build batch file under Win 98 I get > >".;C:\JDK\lib\classes.zip;C:\JDK\CLASSES;C:\JACOB;. >\lib\endorsed\XALAN-~1.JAR;.\lib\endorsed\XERCES~1.JAR;. >\lib\endorsed\XML-APIS.JAR" >Error loading class org/apache/tools/ant/Main: Bad major version number > >I think the "Bad major"is because the jar files Poi\lib are compiled with >Java 2. Domino ships with a version of Xerces & Xalan (LotusXSL) which I >have copied to \Poi and <JDK>\classes even renaming Xerces & Xalan to >X...2.0.0.jar . If I try running Ant from the Poi directory I get > >BUILD FAILED >java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException > at org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled >Code) > at >org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117) > at org.apache.tools.ant.Main.runBuild(Compiled Code) > at org.apache.tools.ant.Main.start(Compiled Code) > at org.apache.tools.ant.Main.main(Main.java:235) > >Total time: 0 seconds >java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException > at org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled >Code) > at >org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117) > at org.apache.tools.ant.Main.runBuild(Compiled Code) > at org.apache.tools.ant.Main.start(Compiled Code) > at org.apache.tools.ant.Main.main(Main.java:235) >org/xml/sax/SAXParseException > >The SAXParseException class is listed in the API docs so I don't understand >why it barfs with that error. > >Can someone point me to a resource/FAQ where I can learn how to work this >out for myself in future? > >I guess I might need to recompile the other .jars in \Poi\lib too. Isn't >there an archive of these things somewhere? > >TIA. > >Gerry King > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
