Here I am giving a very basic example for creating a basic .xlsx file using poi.jar. This code will create a .xlsx file in a certain location & write some text in it. But we need to use a number of jars for that.
They are -
i) dom4j-1.5.1.jar
ii) ooxml-schemas-1.0.jar
iii) poi-3.5-FINAL.jar
iv) poi-ooxml-3.5-FINAL.jar
v) xmlbeans-2.3.0.jar
They are -
i) dom4j-1.5.1.jar
ii) ooxml-schemas-1.0.jar
iii) poi-3.5-FINAL.jar
iv) poi-ooxml-3.5-FINAL.jar
v) xmlbeans-2.3.0.jar