User Tools

Site Tools


products:cockpit.old:6.7:installguide:installjava

Install JAVA

Windows

  • Stop Pro.Monitor service
  • You can use the latest JAVA OpenJDK GA version (currently 13) available here: https://jdk.java.net/
  • Download the windows/x64 archive from the build section and unzip it in your usual Java install path: C:\Program Files\Java
  • Add the path to the JAVA bin folder within your global system Path variable (Example: C:\Program Files\Java\openJdk_12\bin)
  • Set JRE_HOME environment variable to the JAVA installation folder
  • Open a shell and execute java –version you should see a similar screen, mentioning 64-Bit Server VM

Migration from JAVA JRE to OpenSDK

  • Download the OpenSdk Archive and expand it.
  • Uninstall former versions of JAVA
  • Remove folder C:\ProgramData\Oracle
  • Set PATH and JRE_HOME environement variables

Need to troubleshoot: Installation problems

Linux

  • Use the existing package installer (apt or yum for example) to install latest GA version of JAVA OpenJDK (currently 13)
  • Example on CentOS:
> yum install java-latest-openjdk-headless.x86_64   # Installs the latest OpenJDK binaries
> alternatives --config java                        # In case of upgrade: Switches the links to point to the new version
> java -version                                     # Check you run the latest version
  • Or download the Linux/x64 archive from https://jdk.java.net/ and decompress it in your usual Java install path and update /usr/bin/java link
  • Refer to the online documentation specific to your Linux distribution

Warning:

  • Avoid installing version 151 and 161 of Java 8, it has known issues preventing to use compression between server and browsers
/home/clients/8c48b436badcd3a0bdaaba8c59a54bf1/wiki-web/data/pages/products/cockpit.old/6.7/installguide/installjava.txt · Last modified: 2024/05/01 18:39 (external edit)