daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Dec 12th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static boolean testLibrary() {
  2.     try {
  3.         @SuppressWarnings("unused")
  4.         Class<?> cl = Class.forName("net.sf.dynamicreports.jasper.builder.JasperReportBuilder");
  5.         BasicConfigurator.configure();
  6.     } catch (ClassNotFoundException e1) { e1.printStackTrace(); Window.write("dynamicreports library not found"); Window.write(e1.getMessage()); return false; }
  7.  
  8.     Window.write("library is installed.");
  9.     System.out.println("dynamicreports library is found.");
  10.     return true;
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top