Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Why a newer JRE is important


AppMon installations (Server, Collector, Client,...) are shipped with an Oracle Java 8 JRE. We always used use the most recent JRE version for all of our AppMon releases , to guarantee a stable and reliable deployment. Over time it can happen, that the shipped JRE  is outdated. Why this is important? Newer versions always the JRE version that ships with AppMon may become outdated. This is of concern because new JRE releases typically contain security updates and bugfixes. Thus, it makes sense to keep the JRE updated , to avoid security vulnerabilities and avoid other known problems. This article describes:

  • Which JREs are supported by 7.1 and 7.2

  • How to update the JRE in 7.1 and 7.2 for any AppMon installation

When you install Dynatrace AppMon you will get the follwoing following JREs on Windows and Linux:

  • 7.1: Oracle Java 8 Update 142

  • 7.2: Oracle Java 8 update 181

For collectors running on other platforms, we don't ship a JRE. The JRE must be provided by the customer. This article focuses on how to update the shipped JREs.

Which JREs are supported

Until now, AppMon only supported the Oracle JREs. Starting with OpenJDK Update 192, we now also support OpenJDK. This is important as OpenJDK 8 will ship security updates longer for Java 8 than Oracle will.

For AppMon 7.1 we only offer the JRE that comes with the installer. Newer Updates have to updates must be provided and deployed by the customer. We support the following runtimes:

AppMon 7.1:

  • Oracle Java 8 (Update 142 or later)

  • OpenJDK 8 (Update 192 or later)

No newer major Java versions (like i.e., 9, 10, 11,... ) are /will be supported

AppMon 7.2:

Starting with AppMon 7.2, Dynatrace offers JRE update packs that provides provide you with a recent Java runtime, including security fixes. There is no need (possibility) option to deploy a custom runtime.

So we basically support all JREs that we offer through our JRE update packs. No other JREs are supported. In practice we provide:

  • <NOW> (currently) Oracle Java 8 Update 181 with the installer

  • <NOW> (currently) JRE Update Packs with the latest OpenJDK 8 update (OpenJDK Update 192 is the first we offer)

  • <FUTURE> (in the future) We plan to switch AppMon 7.2 to OpenJDK 11 in the futurea coming release. From that point on we will ship the latest OpenJDK 11 Updateupdate

How to update the JRE

AppMon 7.1:

Note: In 7.1 we support 32bit collectors. Please make sure to use a 32bit JDK in the following steps when upgrading a 32bit collector. In all other cases use a 64bit JDK.

For upgrading To upgrade the runtime of any AppMon installation, please follow these steps (so those these steps have to must be done performed for any AppMon Installation being it a type: Full, Server, Collector or Client install):

1. Make sure you have a supported JDK somewhere (Oracle JDK or OpenJDK - really use ). Use a JDK and not a plain JRE as we will you need the tools.jar). We will call AppMon calls this directory NEW_JRE_HOME

Windows: e.g. C:\%program_files%\java\jdk1.7.0_<update>
Linux: e.g. /usr/java/jre1.8.0_<update>

2. Shut down the components where you want to update the JRE

3. Rename directory <DT_INSTALL_DIR>/jre to <DT_INSTALL_DIR>/jre.orig

<DT_INSTALL_DIR> is the location of the AppMon installation
Windows: e.g. C:\%program_files%\dynaTrace\dynaTrace 7.1
Linux: e.g. /opt/dynatrace-7.1

4. Copy a the JRE folder from <NEW_JRE_HOME> to the directory <DT_INSTALL_DIR>/jre

Windows: e.g. Copy contents of "C:\%program_files%\java\jdk1.8.0_<update>\jre" to folder "C:\%program_files%\dynaTrace\dynaTrace 7.1\jre"
Linux: e.g. Copy contents of "/usr/java/jdk1.8.0_<update>/jre" to directory "/opt/dynatrace-7.1/jre"

5. Copy the tools.jar file from <NEW_JRE_HOME>/lib to <DT_INSTALL_DIR>/jre/lib

Windows: e.g. Copy file "C:\%program_files%\java\jdk1.8.0_<update>\lib\tools.jar" to folder "C:\%program_files%\dynaTrace\dynaTrace 7.1\jre\lib"
Linux: e.g. Copy contents of "/usr/java/jdk1.8.0_<update>/lib/tools.jar" to directory "/opt/dynatrace-7.1/jre/lib"

6. Startup the affected components and check if everything starts as expected

7. If everything is running fine, delete the backup directory created in step 3. In case of any problems delete the directory <DT_INSTALL_DIR>/jre and rename <DT_INSTALL_DIR>/jre.orig to <DT_INSTALL_DIR>/jre

AppMon 7.2:

As already mentioned we have a new approach of to shipping Java updates to our customers in AppMon 7.2 customers.

Right now we offer new Java updates as a separate download item on our download page. They can be found here: TODO add link

The downloaded file can be installed with the Dynatrace AppMon Client. It gets is automatically distributed to all components. A detailed description can be found in the AppMon documentation ( Please have a look at the section "Manual Installation".

In the future, the Dynatrace AppMon Client might will actively notify actively you when new Java Updates are available.