Sierra Bravo
2009-08-18 17:21:19 UTC
Dear all
I've been trying to get a .java file compiled with POI. Running Java 1.6 on
Jaunty, I've tried various combinations of the following (with all the three
jar files, both using the command line switch and the CLASSPATH environment
variable):
$ javac -classpath /home/s1b/xls/poi-3.2-FINAL-20081019.jar ReadXls.java
ReadXls.java:1: package org.apache.poi.xssf.usermodel does not exist
import org.apache.poi.xssf.usermodel.*;
^
ReadXls.java:2: package org.apache.poi.ss.usermodel does not exist
import org.apache.poi.ss.usermodel.*;
^
ReadXls.java:3: package org.apache.poi.ss.util does not exist
import org.apache.poi.ss.util.CellRangeAddress;
(And 13 more of not being able to locate the class files)
Thanks in advance...
s1b
I've been trying to get a .java file compiled with POI. Running Java 1.6 on
Jaunty, I've tried various combinations of the following (with all the three
jar files, both using the command line switch and the CLASSPATH environment
variable):
$ javac -classpath /home/s1b/xls/poi-3.2-FINAL-20081019.jar ReadXls.java
ReadXls.java:1: package org.apache.poi.xssf.usermodel does not exist
import org.apache.poi.xssf.usermodel.*;
^
ReadXls.java:2: package org.apache.poi.ss.usermodel does not exist
import org.apache.poi.ss.usermodel.*;
^
ReadXls.java:3: package org.apache.poi.ss.util does not exist
import org.apache.poi.ss.util.CellRangeAddress;
(And 13 more of not being able to locate the class files)
Thanks in advance...
s1b
--
View this message in context: http://www.nabble.com/Woes-trying-to-compile-a-.java-file-with-POI-tp25029537p25029537.html
Sent from the POI - User mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/Woes-trying-to-compile-a-.java-file-with-POI-tp25029537p25029537.html
Sent from the POI - User mailing list archive at Nabble.com.