MATLAB R2020a engine API with Java11 (AdoptOpenJDK 11.0.7.10)

조회 수: 2 (최근 30일)
Pipat Liutanakul
Pipat Liutanakul 2020년 7월 24일
답변: Edgaras Dulskis 2023년 2월 23일
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.

답변 (3개)

Ennio Visconti
Ennio Visconti 2022년 3월 10일
편집: Ennio Visconti 2022년 3월 10일
Quite embarassingly, now Matlab is pretty much the only tool that hasn't updated to Java 11 yet.

Harsha Priya Daggubati
Harsha Priya Daggubati 2020년 7월 31일
Hi,
Unfortunately, the engine supports Java applications built with JDK™ 7 or 8.
You can refer the following page for more details:
  댓글 수: 3
sst
sst 2021년 4월 6일
I am curious about the direction The MathWorks intends to take here as well.
Davide Gamba
Davide Gamba 2022년 9월 9일
Any news on this?

댓글을 달려면 로그인하십시오.


Edgaras Dulskis
Edgaras Dulskis 2023년 2월 23일
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

카테고리

Help CenterFile Exchange에서 Call MATLAB from Java에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by