MATLAB Answers

Unable to start MJS workers

11 views (last 30 days)
Andrew Martin
Andrew Martin on 8 Aug 2019
Edited: Kojiro Saito on 8 Aug 2019
Hello,
While trying to start MJS workers, I'm running into the following error:
java.lang.reflect.InvocationTargetException: null
which is caused by:
java.lang.IllegalArgumentException: matlabExecutable must be of the form '<release string>=<path to executable>;<release string>=<path to executable>;'. Actual string: %MATLAB_EXECUTABLE%
I tried the sollution suggested in:https://www.mathworks.com/matlabcentral/answers/427624-why-do-i-receive-the-error-matlabexecutable-must-be-of-the-form-release-string-path-to-executab
The error changed slightly, in that the "actual string: %MATLAB_EXECUTABLE%" was replaced with "actual string: /usr/local/MATLAB/R2017a/bin/matlab', indicating that I was editing the correct file.
The change I made was:
set.MATLAB_EXECUTABLE=/usr/local/MATLAB/R2017a/bin/matlab
Any help would be greatly appreciated. The system is a CentOS 6.10 system. I'm running Matlab 2017a.

  0 Comments

Sign in to comment.

Answers (2)

Andrew Martin
Andrew Martin on 8 Aug 2019
Oddly enough, rebooting the servers appears to have resolved this issue. I reverted my change of set.MATLAB_EXECUTABLE as well, and all is well.

  0 Comments

Sign in to comment.


Kojiro Saito
Kojiro Saito on 8 Aug 2019
Edited: Kojiro Saito on 8 Aug 2019
How about seting
MATLAB_EXECUTABLE=/usr/local/MATLAB/R2017a/bin/glnxa64/matlab
(not bin/matlab, but bin/glnxa64/matlab) in
/var/lib/mdce/Checkpoint\wrapper-phoenix-environment.config file?

  0 Comments

Sign in to comment.


Translated by