Java runtime environment
The Java runtime environment (Java RTE, or JRE for short) is required to run Elastic Search, Kibana and Tika. JRE includes runtime libraries and includes a Java virtual machine. OpenJDK stands for Open Java Development Kit.
Use Java v18.
Installation for Elastic Search
Use Java v18.36 as bundled with Elastic Search.
Unpacking and installing Elastic Search will result in a folder jdk, for example:
- Previous installations may have instructed to create a system environment variable JAVA_HOME and/or to include the Java bin folder in the system PATH. Remove both settings. For information only: Elastic Search itself establishes these settings.
Installation for Kibana
Kibana is typically installed on one of servers of the Elastic Search cluster. The service manager nssm is used to install Kibana as a Windows service. Nssm allows to specifiy the Java runtime environment. Specify the jdk as bundled with Elastic Search.
Installation for Tika
Use Java v18.0.1 as included in the installation media:
- Create a folder C:\Program Files\Java. Use the appropriate drive, C:\ or another drive.
- Unpack openjdk-18.0.1_windows-x64_bin.zip in a temporary folder, for example resulting in a subfolder E:\Temp\openjdk-18.0.1_windows-x64_bin.
- Move subsubfolder jdk-18.0.1 to C:\Program Files\Java\jdk-18.0.1.
- Previous installations may have instructed to create a system environment variable JAVA_HOME and/or to include the Java bin folder in the system PATH. Remove both settings. For information only: Tika will run under control of the nssm service manager. JAVA_HOME will be specified in the configuration of the service manager. The system PATH is not required because the absolute path of the JRE will be specified in the nssm configuration.