Matlab error and Java error, Version mismatches even through both platform has same version of Java

Error occurs, I try to excute below program file from Java, as this program calls matlab's .m file as fucnctions and excute the same, however its throughs the error stating that version mismatches, but both platform has same versions of Java.
Looks forward for all your kind supports and helps.
Pls find below attatched pic's along with java code
Matlab version:
System Java Version:
Java Error:
Example 1
Example:2

Answers (0)

Products

Release

R2020a

Asked:

on 20 Jul 2022

Edited:

on 20 Jul 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!