MID Server and Java

Gregor Stollber
Kilo Contributor

Hi, we have three Windows server where our MID servers are installed on. On one of them Java Version:- Java 8 update 231 is installed and as far as I know the MID Server only needs the JRE. My Question is, if Java can be uninstalled on this server without any side effects to the MID Server. Thanks in advance and Regards, Gregor

2 REPLIES 2

Hitoshi Ozawa
Giga Sage
Giga Sage

ServiceNow documentation states OpenJDK 8 update 231 is bundled with MID server. Is the question about removing JDK from this bundle? 

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/mid-server/reference/r_MID...

I'm looking at my linux MID server installation and can only find JRE and not JDK so JDK isn't necessary.

abhijitkhewale
Mega Expert

Hi Gregor,

Please find the below notes from documentation:

For Paris version 

OpenJDK version 1.8.0_231 is bundled with the MID Server installer package and is installed on the host for all new MID Servers. The installer automatically configures OpenJDK to run in your environment. No additional configuration is required. This version supports both 32-bit and 64-bit MID Servers. For the best performance, install the 64-bit MID Server for your operating system. The MID Server requires a minimum JRE version 1.8.0_161, and recommended version 1.8.0_231. If you are using a lower version than 1.8.0_161, you may see encryption related issues. If the MID Server is configured to use an external JRE and the JRE is detected to be incompatible, the MID Server instead uses the bundled JRE. If this fails, or the MID Server remains on an incompatible JRE version, the MID Server automatically stops.

Note:ServiceNow will discontinue support for 32-bit MID Servers in a future release.

Testing showed that the MID Server works as expected with Oracle Java 11 version 11.0.5 and Oracle JRE 8 version 1.8.0_231. However, Oracle JRE 8 version 1.8.0_231 requires the workaround described in the HI Knowledge Base article MID Server running Oracle JRE version 8 [KB0784442]. In order to use Java 11 on Windows MID Servers, refer to Install Java 11 on Windows MID servers [KB0752451].

Upgraded MID Servers might use different Java versions depending on their release level.
  • MID Servers upgraded from Kingston and earlier use the OpenJDK provided with the MID Server installer. This version of the OpenJDK was tested and certified for use with these MID Servers.
  • MID Servers upgraded from London continue to use the same JRE you configured for London. The MID Server supports JRE 1.8.