This article describes how to replace Java SE with OpenJDK 8 (Open source Java project) for ElasticSearch service which is used by Acronis Catalog service.
Version 8 of OpenJDK can be downloaded from https://adoptopenjdk.net/
- Run Command Prompt (Start -> Run -> cmd) and go to ElasticSearch installation path, by default it is C:\Program Files\Acronis\ElasticSearch\elasticsearch-2.4.0\bin
- Stop ElasticSearch: service.bat stop
- Change JAVA_HOME value in system variables:
- In Search, search for and then select: System (Control Panel), then click the Advanced system settings link.
- Go to Advanced tab, select Environment Variables, and then edit JAVA_HOME value to point to where the OpenJDK software is located: default path is [InstallationPath]\jdk-8.0.212.04-openj9\jre\
E.g. : C:\Program Files\AdoptOpenJDK\jdk-8.0.212.04-openj9\jreMake sure that there is \bin\server\jvm.dll present in the path which you define in JAVA_HOME variable (Example: [InstallationPath]\jdk-8.0.212.04-openj9\jre\bin\server\jvm.dll)
Default path for JAVA_HOME (from Java SE installation) is [InstallationPath]\Java\jre1.8.0_111\
- Launch a new Command Prompt window, go to C:\Program Files\Acronis\ElasticSearch\elasticsearch-2.4.0\bin and start ElasticSearch: service.bat start
- Verify that Acronis Catalog works correctly from Acronis Cyber Backup web console interface
- After verifying that Acronis Catalog works after the changes, you can uninstall Java SE from Control Panel.
Acronis Cyber Backup installation package will have Java SE replaced with OpenJDK in one of the nearest major updates releases.