MATLAB R2020a engine API with Java11 (AdoptOpenJDK 11.0.7.10)

6 ビュー (過去 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 Center および File ExchangeCall MATLAB from Java についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by