Is Oracle Java JRE license included with Matlab license?

64 views (last 30 days)
Hi!
Our IT department found that an Oracle JRE is installed as part of Matlab (R2020a on Windows). Since Oracle changed its licensing policy a while ago, such that in many cases now JRE installations have to be paid for, we are concerned about what to do here, eg whether we need to pay Oracle for this JRE embedded into Matlab.
Does our Matlab license also cover the right to use the embedded JRE? Under what conditions?
Maybe there is even an according Matlab license statement somewhere?
Thanks!

Accepted Answer

Walter Roberson
Walter Roberson on 23 Jul 2021
Edited: Walter Roberson on 23 Jul 2021
The situation might be different on Windows, but on Mac and Linux,
version -java
ans = 'Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode'
and that version is the last free one according to https://blogs.oracle.com/java-platform-group/oracle-java-se-releases-faq
Therefore, at least for Mac and Linux, a license should not be required.
You might possibly have noticed that uifigure() and related technology for App Designer, does not use Java. That is deliberate. MATLAB intends to drop java support at some point (though I have no idea what they will do about underlying technology such as using Java to communicate between parallel workers in the Parallel Computing Toolbox.)
  5 Comments
Andrew
Andrew on 6 Jun 2023
Thanks.... That's not the part that really has me concerned, because, for example, we could leverage RedHat's or OpenJava...
there are more than a few artciles that basically hint that 1.8 is tightly integrated with this product and may not perform as expected and that while it may work they are unsupported.
I didn't find any for Windows or Linux tha suggested otherwise.
This is from last month
"MATLAB ships with one specific version of the JVM software on Linux OS depending on the release. MATLAB is fully supported only on these shipped versions of the JVM software. Some components might not work properly under a different version of the JVM software. For example, calling functions in a dynamically linked library that was created with a different JVM software version than that used by MATLAB might cause a segmentation violation error message."
Walter Roberson
Walter Roberson on 6 Jun 2023
  • Oracle Java 8
  • OpenJDK Java 8 (but not for Production Server)
  • OpenJDK Java 11 (but not for Production Server)

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!