Issue: Error java.lang.NoClassDefFoundError:com/sun/activation/registries/LogSupport
Solution: This error occurs due Java version is not supported by that SDC version.
To check which Java version is supported, you can go to Installation Requirements of that SDC version.
For example:
- For SDC 5.2.0 and below, you can see in Installation Requirements that only Java 8 is supported.
- For SDC 5.3.0 and above, you can see in Java Versions and Available Features that Java 8, 11, and 17 are supported.
You can switch to a different Java version by adding JAVA_HOME variable in $SDC_DIST/libexec/sdc-env.sh or sdcd-env.sh depending on how you start SDC.
For example:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/openlogic-openjdk-8.jre/Contents/Home