How to install Matlab without Oracle java and use Open JDK instead?

25 Ansichten (letzte 30 Tage)
Juha
Juha am 7 Mai 2024
Kommentiert: Riku am 14 Mai 2024
How to install Matlab without Oracle java and use Open JDK instead. We think that we need update all our installation to use Open java because Oracle is starting to end free use of java. We use SCCM to install software silent.
  2 Kommentare
Juha
Juha am 14 Mai 2024
Hi,
Thank you for your answer. We are also planning to use Azul Java, at the moment we are using Matlab R2023b Update 6. I am now trying to find out how we can get rid of the Oracle Java?
Regards,
Juha
Riku
Riku am 14 Mai 2024
Hey,
We havent yet uninstalled anything but I believe after the environmental variable for Azul java is working you can just delete the Oracle files or ask for a possible matlab package without the Java preinstalled.
Regards
Riku

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Steven Lord
Steven Lord am 7 Mai 2024
Please see this Answers post.
  1 Kommentar
Juha
Juha am 7 Mai 2024
Hi, thank you for your answer. I have read that post before and I understand how to do that but that is not our case.
My question is how we could silently install Matlab without Oracle Java?
Regards,
Juha

Melden Sie sich an, um zu kommentieren.


Riku
Riku am 14 Mai 2024
Hey,
We have been looking into the same thing and our solution has been tested and we're planning on rolling it out to users.
We decided to use Azul Systems Zulu JRE 11 as replacement for Oracle java which comes with the basic matlab installation. By making windows environment variable MATLAB_JAVA and value "Path to Open JDK of choice" matlab will change the Java version matlab uses.
We also found that the Zulu java version should be used for Matlab R2023a onwards as R2022b didnt work.
More information:

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by