About Java Installation Updates and Changes

image_pdfimage_print

1.) OS Windows

Preliminary note: if you have changed JAVA from 32 to 64 bit version, then you must also replace in [Jedox_install_path]\tomcat\bin the file “Tomcat8.exe” with “Tomcat8_64.exe”.

After an update or a change in the JRE (Java) installation, you have three possibilities to ensure that Jedox software uses the changed JRE installation:

  • After the JRE update, you can run Jedox Setup in “Repair” mode.
    Important: Back up your installation and your data before starting the Jedox Setup! The update installation could overwrite manually changed configuration files. Therefore you should have a backup from which to restore manually changed files.
  • Alternatively you can check the entries in <Install_path>\tomcat\bin\setenv.bat.
    The entry JRE_HOME (resp. JAVA_HOME; if both set: JRE_HOME wins) must point to the Java version that you want to use.
    If changes are necessary in setenv.bat, then you must afterwards execute the scripts “serviceRemove.bat” and “serviceInstall.bat” in <Install_path>\tomcat\bin (with administrative rights) for reinitialization of JedoxSuiteTomcatService.
  • Auto detection of Java:
    If a JRE is installed (i.e. not just a JDK), you can use the automated Java detection of Apache Tomcat to avoid a manual change of the Jedox installation after a Java update. You will have to edit the entries in <Install_path>\tomcat\bin\setenv.bat in this way:

    set JAVA_HOME=
    set JRE_HOME=

    Afterwards, you must execute the scripts “serviceRemove.bat” and “serviceInstall.bat” in <Install_path>\tomcat\bin (with administrative rights) for reinitialization of JedoxSuiteTomcatService. Note that you have to perform this change again after running Jedox Setup in “Repair” mode.

2.) OS Linux

For an update of the Java installation inside Jedox jail in Linux, you must type in the following commands in terminal.
The commands refer to the Jedox standard installation directory:  /opt/jedox/ps.

chroot /opt/jedox/ps /bin/bash
yum update java-1.8.0-openjdk
exit

If there exists an update, then yum will ask you if you want to install that update. If not, you get the message “No packages marked for update”.

For the update, it does not matter whether the Jedox services are running or not. After the update, they must be restarted anyway.

 

See also: Jedox Software Requirements

image_pdfimage_print
Was this post helpful?
NoYes (+5 rating, 5 votes)
Loading...
Tagged: