To export data from java JTable to excel you need POI library. To download POI(Apache POI - the Java API for Microsoft Documents) library go to. Then extract it and add the external jar files to libraries section on your IDE. A using Netbeans Integrated development environment.