support of Java11

68 views (last 30 days)
Michal
Michal on 30 Aug 2022
Commented: Walter Roberson on 12 Sep 2022
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?
  2 Comments
Michal
Michal on 30 Aug 2022
Edited: Michal on 30 Aug 2022
Why not? This is normal SW development progress ...
So, I am expecting sooner or later switch to the newer Java LTS release Java 1.11 as an internal java engine together with MATLAB release, because:
  1. Java 1.11 is really a current Java production version for many, many... Java programmers
  2. JAR files compiled by Java 1.8 is not possible to run from the MATLAB with Java 1.11 internal engine

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Aug 2022
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.
  11 Comments
Walter Roberson
Walter Roberson on 12 Sep 2022
Mathworks is also aiming to make the graphics be based upon javascript and HTML5 so that the graphics can be provided remotely (and have more degree of customization.)
Mathworks has not discussed OpenJDK with me.

Sign in to comment.

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!