check the Jasper version at runtime

You can check the JR version at runtime by doing something like:

 

1)System.out.println(JRPropertiesMap.class.getPackage().getImplementationVersion());
2)System.out.println(JRPropertiesMap.class.getResource ("/net/sf/jasperreports/engine/JRPropertiesMap.class"));

你可能感兴趣的:(.net)