- commons-collections-2.1.jar
- jasperreports-2.0.3.jar
- poi-3.0.1-FINAL.jar
import java.util.logging.Level;
import java.util.logging.Logger;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
public class Main {
public static void main(String[] args) {
try {
System.out.println("compiling");
JasperCompileManager.compileReportToFile("d:\\Complaint.jrxml");
System.out.println("done");
} catch (JRException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
No comments:
Post a Comment