The following steps explain how to update the Java Virtual Machine (JVM), which the Database Security Standalone Server uses, to Java 8. In version 4.6.2-52785 and later, the Standalone Server supports updating the JVM to Java 8.
IMPORTANT: In the following instructions, we use Java SE Runtime version
1.8.0_151 as an example. For security purposes, Technical Support recommends that you use a build version
earlier than 1.8.0_171 because of cipher suite deprecation that occurs in that version.
NOTE: These steps are unnecessary for Database Security 4.6.4 and later, which come packaged with Java 8.
Microsoft Windows:
- Download and install the 64-bit Java SE Runtime 8, which is available from the Oracle website.
- Stop the Database Security service.
- Navigate to the server install directory.
NOTE: The default location is C:\Program Files\McAfee\McAfee Database Security\bin.
- Run McAfeeDBSw.exe with Administrator rights. This action opens the Database Security Properties window.
- Click the Java tab and edit the JVM entry so the entry points to the server\jvm.dll file, installed with the JRE.
For example, C:\Program Files\Java\jre1.8.0_151\jre\bin\server\jvm.dll
NOTE: For production systems, Technical Support recommends that you increase the JVM memory to 4 GB (or greater) by modifying the values in the Java Options section:
-Xms4096m
-Xmx4096m
- Save your changes. Click OK.
- Start the Database Security service.
Linux:
- Download and install the 64-bit Java SE Runtime 8 available from the Oracle website.
NOTE: Technical Support recommends that you install the tar.gz distribution in a dedicated directory such as /opt.
- Modify the file <install-dir>/conf/server-custom.properties:
Specify the JRE_HOME using this syntax, JRE_HOME=<jre dir>
For example, JRE_HOME=/opt/jre1.8.0_151/jre
NOTE: For production systems, Technical Support recommends that you increase the JVM memory to 4 GB or greater by modifying the setting in <install-dir>/conf/server-custom.properties:
JAVA_MIN_MEM=4096m
JAVA_MAX_MEM=4096m
- Restart the Database Security Server process.
Verify the update:
View the log file
mfe_dbs.log located in
<install dir>/logs and search for the line with the following text:
java version is: <java version>
For example,
java version is: 1.8.0_151