UnsupportedClassVersionError

Explcitly running with java 11, but sometimes on page refresh/app launch get this. ususally if I refresh again, the error is gone. But seems quite strange, since the class in question is a Java library class. In this case it is the BasicLookAndFeel class, but sometimes it is other JRE classes: java.lang.UnsupportedClassVersionError: Required Java version 45532, but CheerpJ only supports up to Java 11 at this time. Unsupported class: javax/swing/plaf/basic/BasicLookAndFeel
2 Replies
JacobDK123
JacobDK123OP5mo ago
just got this: java.lang.UnsupportedClassVersionError: Required Java version 4564, but CheerpJ only supports up to Java 11 at this time. Unsupported class: javax/swing/text/View
apignotti
apignotti5mo ago
Hi, can you provide a complete example that demontrate this problem? It seems to me you are downloading corrupted data, which is not something we have ever seen before We have identified a potential issue that could be connected to this specific problem. It is fixed already in the following build: https://cjrtnc.leaningtech.com/3_20250430_1221/loader.js

Did you find this page helpful?