JENV Set the Java Runtime Environment path for MATLAB Usage: jenv [options ...] Description: Specify custom location of Java Runtime Environment path for MATLAB. Command Line Options: system : The system version of JRE will be used by MATLAB. factory : MATLAB provided JRE will be used. : User provided location will be used by MATLAB. -allusers system/factory/ : Set JRE path for all users.