Error java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

  • 27 April 2023
  • 0 replies
  • 715 views

 

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:

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

 


0 replies

Be the first to reply!

Reply