CMDBuild Forum

CMDBuild Ready2Use 4.0.4 - IgniteJdbcThinDriver exception and proposed solution

During the installation of Ready2Use on Ubuntu 24.04.02 LTS on ARM I’m getting the following exception when running the ready2use-2.4-4.0.4.sh wizard during the database creation step:

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.ignite.IgniteJdbcThinDriver

After searching for possibile solution I solved the problem by using the following directives which merge the ones in the script with what I found on other forums:

--add-opens java.base/java.io=ALL-UNNAMED 
--add-opens java.base/java.lang.reflect=ALL-UNNAMED 
--add-opens java.base/java.lang=ALL-UNNAMED 
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.nio.file=ALL-UNNAMED 
--add-opens java.base/java.nio=ALL-UNNAMED 
--add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED 
--add-opens java.base/java.util.concurrent=ALL-UNNAMED 
--add-opens java.base/java.util.regex=ALL-UNNAMED 
--add-opens java.base/java.util=ALL-UNNAMED 
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED 
--add-opens java.base/jdk.internal.misc=ALL-UNNAMED 
--add-opens java.base/sun.nio.ch=ALL-UNNAMED 
--add-opens java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED 
--add-opens java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED 
--add-opens jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED 
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED 
--add-opens jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED

Hope this can be of help.

Regards,
AB