MATLAB Answers

MATLAB R2020a engine API with Java11 (AdoptOpenJDK 11.0.7.10)

30 views (last 30 days)
Pipat Liutanakul
Pipat Liutanakul on 24 Jul 2020
Commented: Kevin Neubauer on 28 Sep 2020
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.

  0 Comments

Sign in to comment.

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 31 Jul 2020
Hi,
Unfortunately, the engine supports Java applications built with JDK™ 7 or 8.
You can refer the following page for more details:

  1 Comment

Kevin Neubauer
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by