This error is related to the version of Java that Matlab is using.
- Verify that Matlab is using other Java version rather than 8, to confirm the error cause
- If that is the case, return to use the Java version that is included in Matlab with the command:
>> jenv factory