If you use a
java.opts file to set startup
options, you can put the file in one of the following folders:
MATLAB® startup folder
java.opts file in this location applies to all
users, but individual users might not have permissions to modify files
If there is a
java.opts file in both locations
with settings that conflict, the setting in the file in the MATLAB startup
folder takes precedence. Check both locations for existing
and then decide which one to modify.
Do not use a
java.opts file in the following
To adjust the Java heap size, use Java Heap Memory Preferences.
To modify the static Java class path, create
javaclasspath.txt file. For information, see Static
To modify the library path, create a
For information, see Locating Native Method Libraries.