Jump to content
Changes to the Jaspersoft community edition download ×

Error installing Jasper Server


KonstantinD
Go to solution Solved by KonstantinD,

Recommended Posts

Totally new to Jasper Reports.

Downloaded TIB_js-jrs-cp_8.2.0_win_x86_64.exe

Run it as Administrator on Windows 10 64

Output of java -version:

java version "21.0.1" 2023-10-17 LTS Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)                                                                                                                                                          Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)

Installation fails.

Log file:

BUILD FAILED

C:\Jaspersoft\jasperreports-server-cp-8.2.0\buildomatic\bin\app-server.xml:42: java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Any advice?

Link to comment
Share on other sites

  • Solution

Resolved: removed JDK 21 and installed JDK 11.0.21. Installation succeeded.

current output of java -version:
 

Quote

 

java version "11.0.21" 2023-10-17 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.21+9-LTS-193)                 

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.21+9-LTS-193, mixed mode)

 

Warning: Jasper reports server 8.2.0 is NOT COMPATIBLE with JDK 21

And, probably, with JDK 17.0.9 as well.

Thank you, JasperSoft!

Edited by KonstantinD
  • Thanks 1
Link to comment
Share on other sites

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...