Use Java 11 jar files in Matlab
4 views (last 30 days)
Michal on 30 Aug 2022
Edited: Michal on 30 Aug 2022
You can use following java compiler (javac) option:
Compile for a specific VM version. Supported targets: 6, 7, 8, 9, 10, 11
which generate JAR file for specific JAVA version (release).
But I don't know what to do in case you want to run Java 8 compiled JAR file on future versions of MATLAB with JAVA 11 internal engine. TMW does not presents any road-map for internal java engine regarding future MATLAB releases.