Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean testLibrary() {
- try {
- @SuppressWarnings("unused")
- Class<?> cl = Class.forName("net.sf.dynamicreports.jasper.builder.JasperReportBuilder");
- BasicConfigurator.configure();
- } catch (ClassNotFoundException e1) { e1.printStackTrace(); Window.write("dynamicreports library not found"); Window.write(e1.getMessage()); return false; }
- Window.write("library is installed.");
- System.out.println("dynamicreports library is found.");
- return true;
- }
Add Comment
Please, Sign In to add comment