support of Java11

15 ビュー (過去 30 日間)
Michal
Michal 2022 年 8 月 30 日
コメント済み: Andrew Janke 2023 年 11 月 16 日
What are the plans to to use Java11 in future MATLAB releases? So far is still using Java 1.8, but Java 11 is now standard default version at many Linux distributions.
Is there any info regarding posibilities to call compiled Java (v1.8) jar files from MATLAB when MATLAB switch its internal Java to the v1.11?
  7 件のコメント
Ennio Visconti
Ennio Visconti 2023 年 4 月 24 日
@Michal sry, I thought I did, I don't get a lot how this platform works. Thanks!
Ennio Visconti
Ennio Visconti 2023 年 4 月 24 日
編集済み: Ennio Visconti 2023 年 4 月 24 日
@Michal at least, supporting Java 11 means that it's post java-modules era, so what we are trying to do now is to have just one module that is compatible with matlab, and all the others that are more recent, so that at least when interacting from Java you can actually use recent Java versions (the other way around is still problematic if you go above Java 11).
Hopefully future updates will be faster, the critical one was moving from java 8 to 9, where most companies got stuck.
Maybe in 2024 they could switch to Java 17, who knows :)

サインインしてコメントする。

採用された回答

Ennio Visconti
Ennio Visconti 2023 年 4 月 24 日
  1 件のコメント
Michal
Michal 2023 年 4 月 24 日
Thanks again @Ennio Visconti ... This is really good news. I should read release notes more carefully :)

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 8 月 30 日
Mathworks will never be switching to Java 11.
Mathworks is engaged in a multi-year process of getting rid of Java for their tools and toolboxes.
The whole uifigure / App Designer exists to get rid of Java.
Why is MATLAB not doing minimal updates to keep current while still proceeding with conversion efforts? It is because every version after the current version requires that end users pay Oracle a per-desktop license fee.
... No, I do not mean a per-user license fee, I do mean a per-desktop license fee. Each virtual machine must be licensed separately, no matter how long the virtual machine lasts. Also, as the language of the license is not specific about what a "desktop" is, it could certainly be interpreted that if you use the MS Windows "switch desktop" feature or the MacOS multiple-desktop feature, that you must license Java for each one of those views.
Historically Oracle only charged fees for the Developer version, but they switch to charging end users as well. And they have a reputation for being litigation-happy.
  14 件のコメント
Roger
Roger 2023 年 8 月 30 日
The OpenJDK is always available for Matlab to use, instead of the Oracle JDK. Your point is moot.
Andrew Janke
Andrew Janke 2023 年 11 月 16 日
> ...pay Oracle a per-desktop license fee... No, I do not mean a per-user license fee, I do mean a per-desktop license fee... as the language of the license is not specific about what a "desktop" is
LOL, it's Oracle licensing. You'd have to hire a consultant just to figure out how much it's actually going to cost you.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by