MATLAB nodesktop nojvm cannot find license server
22 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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:
0 Comments
See Also
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!