Beginning with version 2.4.0, Orchid Fusion VMS contains a Java Options file that may be used for additional system configuration. If it becomes necessary, you can edit the Java Options file using a standard text editor in Linux. This section will describe how to edit the Java Options file from the command line.
The default location for the Java Options file in Linux is:
- This file contains the variable JAVA_OPTS. By default, this variable is empty, but experienced administrators may use this variable to set Java/JVM related parameters.
Editing the Java Options File from the Command Line:
- Open the Terminal program (CTRL+ALT+T).
- Open the Java Options file in a text editor (such as nano) by typing the following command:
sudo nano /etc/opt/fusion/java.options. Then press Enter.
The file will open to display one variable: JAVA_OPTS. This variable will initially be blank, but may be modified to define one or more settings. In the example below, the variable is modified to -Xmx2g (which sets the JVM maximum heap size to 2 gibibytes).
- Modify the Java Options file as needed.
- When you are ready to save the file, click CTRL+X on the keyboard, then type Y to save the file and close the text editor. If you do not want to save the file, type N (instead of Y) after typing CTRL+X.
- Restart the Orchid Fusion service in Linux to implement the new settings. (If you need extra help, refer back to the How to Manage the Orchid Fusion VMS Service section that corresponds to the operating system you are using.)
- Once the restart is complete, you can sign into Orchid Fusion VMS.