- Uncheck Read Only.
- Click Apply.
- Click OK to confirm changes to this folder, subfolder, and files..
- Click OK.
- Launch your repair, modification, or install.
Linux On-Prem: Changing JRE to OpenJDK
How to Overwrite the Default JRE with OpenJDK:
- After installation, download the JRE from OpenJDK. Make sure to choose the OpenJDK 8 (LTS) version with a HotSpot JVM, and a Linux 64bit JRE platform.
- Version: OpenJDK 8 (LTS)
- JVM: HotSpot
- Operating System: Linux
- Architecture: x64
- File: JRE
- Stop all Strategy services.
- Replace the contents of the current JRE with my OpenJDK's JRE at /opt/MicroStrategy/install/_jre.
- Verify the Java version by navigating to /opt/MicroStrategy/install/_jre/bin and run the following command:
./java -version
- Replace the content of the current JRE with OpenJDK's JRE at /opt/MicroStrategy/install/_uninstall/jre.
- Verify the Java version by navigating to /opt/MicroStrategy/install/_uninstall/_jre/bin and run the following command:
./java - version
- Restart all Strategy services or reboot the machine.
Note: For Command Manager or other local Strategy tooling to function, the following additional steps need to be performed to obtain one file from the JDK.
- Download the JDK package, following step 1, but download the JDK instead of JRE.
- Unzip the JDK and grab the tools.jar.
- Move only the tools.jar file into the /opt/MicroStrategy/install/_jre/bin directory.
What to test after performing a minor JRE upgrade?
It is beyond the scope of this article to advise on your specific product and implementation. When performing a minor JRE upgrade, there isn't a significant amount of testing typically needed. Problems with the JRE usually will show as major blocking problems, such as failure to start the Intelligence Server, or failure to login to Web. For targeted testing of components which rely on the JRE:
- Platform Analytics - specifically ensuring that telemetry events are being captured and flowing into the Platform Analytics warehouse.
- Exporting to PDF from Dossiers
- For the JDK Tools.jar change, Strategy tooling which can pop-up a GUI, such as Command Manager and License Manager should be validated.
- For Windows based Certificate Manager, general Certificate Manager workflows should be validated.
Strategy's SQL Engine is not impacted by this JRE change, so data integrity should not be a concern. Similarly, Strategy Web and Library rely on the JRE of the web server, so they are equally not impacted by this JRE changes described in this article.
How to Launch the Installer
- Launching the installer to remove updates, modify the install, or uninstall from /opt/MicroStrategy/install/_uninstall/, fails the integrity check since the files do not match.
- Launch the installer without an integrity check, using following command:
./setup.sh -nocheck
How to Repair the Install from Media
- Launch the repair install from the media. Repair install replaces all files, including JRE from media.
- Replace the contents of the current JRE and OpenJDK's JRE at /opt/Strategy\install\_jre.
- Verify the Java version by navigating to /opt/MicroStrategy/install/_jre/bin and running the following command:
./java -version - Replace the contents of the current JRE with OpenJDK's JRE at /opt/MicroStrategy/install/_uninstall/jre.
- Verify the Java version by navigating to /opt/MicroStrategy/install/_jre/bin and running the following command:
./java -version - Restart all Strategy services or reboot the machine.
Note: To view the latest changes to the certifications scope and impending 3rd party upgrades in 2023, see KB485900.