matlab_jenv
Set JRE Java Runtime Environment path for MATLAB from system prompt
Description
matlab_jenv
sets the JRE™ path to use the default version on your system or to use the version shipped
with MATLAB®.version
The matlab_jenv
command does not start MATLAB. To use MATLAB, start MATLAB at the same system prompt where you set the path variable.
This command sets the path for all future MATLAB sessions but does not change the path for other applications on your computer.
matlab_jenv
sets the path to a
specific folder.jrePath
matlab_jenv -allusers ___
sets the path for all
users, using any of the previous syntaxes.
matlab_jenv -help
displays the syntax.