Jump to content
We've recently updated our Privacy Statement, available here ×

Unsupported major.minor version in jasperstudio 5.6.1 with scriptlet classes


grl

Recommended Posts

I have created a simple .jar with a class to process a parameter in my Jasper report via scriptlets. I have added the .jar to the build path of the report project. 

The .jar has been compiled with JDK 1.7, and the execution enviroment of the Jasper project is set to JRE 1.7, and also the Java Compiler compliance level is 1.7. JAVA_HOME points to jdk 1.7.

Still JasperStudio complains of Unsupported major.minor version 51.0 when trying to access the .jar code through the scriptlet parameter. 

Is JasperStudio using jdk 1.6 ?! To check on this, on a separate report, I included a textfield just to print out the java version being used, and I

set the textfield’s expression to System.getProperty("java.version”). It printed 1.6.0_65. 

There is sth about JasperStudio evidently that still is overriding my jre/jdk choices, but I do not know where/how. Please send me your suggestions on where to look. Thanks a million

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...