MATLAB R2020a engine API with Java11 (AdoptOpenJDK 11.0.7.10)
Show older comments
We have plan to use the JAVA11 on our application that connect to MATLAB by using the Engine API. However after tested MATLAB Engine API with Java11, our application crash when call the provided method to get the variable. (start engine and evaluate method work normally)
Is it possible to use the MATLAB engine API with Java11 ?
Or you have any workaround for getting the variable without using the getVariable method.
Answers (3)
Ennio Visconti
on 10 Mar 2022
Edited: Ennio Visconti
on 10 Mar 2022
4 votes
Quite embarassingly, now Matlab is pretty much the only tool that hasn't updated to Java 11 yet.
Harsha Priya Daggubati
on 31 Jul 2020
0 votes
Hi,
Unfortunately, the engine supports Java applications built with JDK™ 7 or 8.
You can refer the following page for more details:
3 Comments
Kevin Neubauer
on 28 Sep 2020
Hi,
are there any updates planned for the engine so that it supports applications built with JDK™ 11 in the future?
Best regards
sst
on 6 Apr 2021
I am curious about the direction The MathWorks intends to take here as well.
Davide Gamba
on 9 Sep 2022
Any news on this?
Edgaras Dulskis
on 23 Feb 2023
0 votes
Does MathWorks have any plans to upgrade Java API to supported Java versions?
Java 8 premiere support has ended in March 2022, so the outdated API is of no value.
https://www.oracle.com/java/technologies/java-se-support-roadmap.html
Categories
Find more on Call MATLAB from Java in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!