MATLAB nodesktop nojvm cannot find license server

22 views (last 30 days)
Muhammad Haziq Kamarul Azman
Muhammad Haziq Kamarul Azman on 29 Dec 2025 at 6:21
Answered: Dinesh on 6 Jan 2026 at 10:11
I've run an interpreter window from Windows terminal using
matlab -nosplash -nodesktop -nojvm
Inside this interpreter, I run several scripts. Most exquisitely, it will use parallel processing for computation, but otherwise, nothing fancy.
The code will run for a while, and then stops with LM error -15 (can't connect to license server).
Using the license command, I get 'unknown' as a response.
The thing is, I made sure that the computer remains connected to the Internet.
Also, using MATLAB with desktop, I run the license command, and a valid license is returned.
Why is this happening? Is disabling the JVM causing this to happen?

Answers (1)

Dinesh
Dinesh on 6 Jan 2026 at 10:11
I don't think disabling the JVM causes this error.
There are several possible reasons for the LM error. Please refer to the "If you receive this error on the license server" section in the following MATLAB Answers post:

Categories

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

Tags

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!