在linux上执行java

javac -cp /home/oracle/export/lib/ojdbc14.jar.jar:/home/oracle/export/lib/poi-ooxml-3.9-20121203.jar:/home/oracle/export/lib/poi-3.9-20121203.jar:/home/oracle/export/lib/poi-ooxml-schemas-3.9-20121203.jar:/home/oracle/export/lib/xmlbeans-2.3.0.jar:/home/oracle/export/lib/dom4j-1.6.1.jar  TESTExcel.java -Xlint:unchecked


java -cp .:/home/oracle/export/lib/ojdbc14.jar:/home/oracle/export/lib/poi-ooxml-3.9-20121203.jar:/home/oracle/export/lib/poi-3.9-20121203.jar:/home/oracle/export/lib/poi-ooxml-schemas-3.9-20121203.jar:/home/oracle/export/lib/xmlbeans-2.3.0.jar:/home/oracle/export/lib/dom4j-1.6.1.jar:$CLASSPATH  TESTExcel

你可能感兴趣的:(在linux上执行java)