Support for JDK 17 or 21, Running MATLAB R2023b on linux on ARM 64 bit processors

60 views (last 30 days)
We've been working on a solution to create a bridge between MATLAB and a software program that we've developing for use in the classroom. We've suceeded in doing this by creating a custom Java 8 based web-socket client for MATLAB, protocol buffers to encode data, and a local event-emiter that allows MATLAB lambdas to send and process messages. MATLAB's poor support for Java versions beyond 8 forces us to compile a separate Java 8 library, just for MATLAB. Even Java 11 doesn't work. As an aside - I wish there was more support for Java LTS versions (17,21 and beyond) - without this, advanced Java code written for Java 17 and 21 have to be re-written using older syntax and features. This is beyond acceptable. When can we expect Java 17 or 21 to be supported? You've already compelled users to install their own JREs (to overcome Oracle's license costs), which is a step in the right direction, but we need to be able to use more recent JDKs (atleast 17 if not 21) and not just the Java 8 JREs. When can we expect this?
Now coming to another challenge we're trying to solve - we're currently running our web-socket client along with other scripts (to solve differential equations for example) in the MATLAB GUI, on both Apple Silicon Macs and Intel-based Linux desktops. We now want to be able to run the same via the command-line on linux machines running on ARM 64 bit processors. Could you point me to a clear set of instructions to setup MATLAB on linux runnning on 64 bit ARM processors? Since you support Apple Silicon (which is ARM based), clearly, there must be a way to run MATLAB on linux machines with ARM processors, but so far none of your releases seem to have an ARM binary for linux. Please provide a solution ASAP, because we cannot rely on just Apple silicon or Intel-bsed linux machines. The future is cleary ARM, whether on desktops or the cloud.
Also, how can MATLAB be installed on bare-metal ARM processor based linux machines, that can be accessed only via SSH? This is important, for us to take advantage of GPUs.
Hope for some pro-active solutions from Mathworks.
  2 Comments
Ennio Visconti
Ennio Visconti on 19 Apr 2024
As of MATLAB R2024a, Java 17 Is supported. I think the challenge was migrating from 8 to 11, I'm expecting way smoother LTS support now

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 17 Jan 2024
Edited: Walter Roberson on 17 Jan 2024
Could you point me to a clear set of instructions to setup MATLAB on linux runnning on 64 bit ARM processors?
There is currently no support for running MATLAB on Linux on ARM processors.
It is not a case of "partially works but you have to adjust a few things": there is no support, no Linux ARM binaries at all.

Categories

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

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!