Jmix trial addons

Hi,
I’m trying to test addons for jmix.
I received a trial license and downloaded the demo project “jmix-commercial-addons-demo”
When I run the project I get this error:

C:\tmp\cubatest\jmix-commercial-addons-demo\src\main\java\com\company\demo\app\NotificationService.java:5: error: cannot access io.jmix.notifications.NotificationManager
import io.jmix.notifications.NotificationManager;
                            ^
  bad class file: C:\tmp\cubatest\jmix-commercial-addons-demo\trial_repository\io\jmix\notifications\jmix-notifications\1.5.3\jmix-notifications-1.5.3.jar(io/jmix/notifications/NotificationManager.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

Thank you

Hello,

You need to update your Java version. For Jmix version 1.5.x, use Java 11 or 17.

Preferences | Build, Execution, Deployment | Build Tools | Gradle
image

Docs: Setup :: Jmix Documentation

Regards,
Nikita

1 Like