when running scriptlet on jasperserver get "Unsupported major.minor version 51.0" error

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hello,

 

I am attempting to add a scriptlet to my jaspersoft report, and as of right now using a test one to see if I can get it working, and I'm getting the following error:

"java.lang.UnsupportedClassVersionError: com/sadakar/jasper/Test4 : Unsupported major.minor version 51.0"

The Jasperserver is at version 3.5.1 and I am unable to chnage any configurations on the server side.

Is this an issue regarding the java code or does the jasperserver not support it?

 

Thanks for any help.

chrisj.msac's picture
Joined: Mar 1 2018 - 4:13pm
Last seen: 4 years 3 months ago

2 Answers:

Jasperserver 3.5.1 is too old. Try versioning it up to at least 6.2.x

hozawa's picture
131740
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago

@hozwa

So any Jasperserver under 6.2.x is too old?

Thank you for your response.

chrisj.msac's picture
Joined: Mar 1 2018 - 4:13pm
Last seen: 4 years 3 months ago
Feedback
randomness