JasperReports error after switching to OpenJDK11



we recently made the switch from Oracle's jre8 to OpenJDK 11 and ever since the reports we've been using seem to be broken. There are no log outputs, the only hint we get is the following as network response

Could not initialize class net.sf.jasperreports.engine.design.JRJavacCompiler

Going through the web seemingly nobody has reported an issue similar to this so far, so I'm here to ask if anyone has an idea on what I could try to fix this.

We're using a WildFly 10.0 and 20.0.1 as server respectively with our project using the previously mentioned OpenJDK 11.

simon.hoppe99's picture
Joined: Sep 18 2020 - 12:25am
Last seen: 2 weeks 1 day ago

Are you using JasperReports Server?

gustavofarias - 1 month 6 days ago

No, the project is only using the JasperReports Library.

simon.hoppe99 - 1 month 3 days ago

1 Answer:


Hi Simon,

Do you add in module-info.java line like:

requires jasperreports;

Best regards,
Valerii Kurnykov

alfpunk's picture
Joined: Apr 30 2020 - 1:04am
Last seen: 1 month 18 hours ago