How to compile .jrxml files which will support both java 6 and java 7


I have java 6 installed on one machine and java 7 on other.

I have compiled .jrxml files using maven plugin in pom.xml file with java 7. But it gives error Unsupported major minor version 51.0 on machine on which java 6 is present.

So i need to add some configuration in maven plugin pom.xml file which will keep support of jasper files for java 6.

Please help me out for how to do this with pom.xml, because I need to compile .jrxml files during build of my project and need to give support for java 6.

k.g.najan's picture
Joined: Jan 7 2013 - 1:16am
Last seen: 8 years 2 weeks ago

0 Answers:

No answers yet