I have changed the java version on my dev system from the integrated commandbox version
IMPLEMENTOR="Eclipse Adoptium"
IMPLEMENTOR_VERSION="Temurin-11.0.22+7"
JAVA_RUNTIME_VERSION="11.0.22+7"
JAVA_VERSION="11.0.22"
JAVA_VERSION_DATE="2024-01-16"
to
IMPLEMENTOR="Eclipse Adoptium"
IMPLEMENTOR_VERSION="Temurin-17.0.10+7"
JAVA_RUNTIME_VERSION="17.0.10+7"
JAVA_VERSION="17.0.10"
JAVA_VERSION_DATE="2024-01-16"
When starting Preside the following error occurs:
com.compoundtheory.classloader.NetworkClassLoader
The stack trace is pointing me to an error in /preside/system/modules/cbjavaloader/models/javaloader/JavaLoader.cfc
Looking in preside/system/modules/cbjavaloader
it says cbjavaloader-1.5.0+35-201803161656, which is quite outdated.
When trying to update preside via the commandline in commandbox it says:
cbjavaloader@^2.0.0 │ 2.1.1+8 │ 2.1.1+8 │ 2.1.1+8
interesting.
Looking through the codebase I found out, that this version is located in the preside extension “Data API” (application\extensions\preside-ext-data-api\modules\cbmarkdown\modules\cbjavaloader\cbjavaloader-2.1.1+8
)
I’m confused. A more recent version is implemented in the extension. but the version used in Preside is the 1.5 version.
Not sure what to do or what is happening. It looks like 1.5 isn’t working, but I have no what the right way is to update cbjavaloader.
Why did I change the Java version? I need to use a thrid party lib that is compiled for JRE 17, but I can’t get Preside up and running with this.
What now?
Thanks, Michi