jdessens Posted January 14, 2008 Share Posted January 14, 2008 Can someone point out to me where I can find a method or constant that will tell me the version number of the loaded JasperReports? Link to comment Share on other sites More sharing options...
C-Box Posted January 14, 2008 Share Posted January 14, 2008 We do so.... Code:public String getInstalledJasperReportsVersion() throws Exception { try{ return net.sf.jasperreports.engine.JasperCompileManager.getClass().getPackage().getImplementationVersion(); } catch (NullPointerException nex) { return new String("not available"«»); } catch (Exception ex) { throw CustomExceptionHandler.modifyException(ex); } } hthC-Box Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now