Knowledgebase:
MarkLogic and Java JDK Support
15 November 2022 09:30 PM

Introduction

Prior to the 9.0-9 release, MarkLogic currently provides support for the Oracle JDK 8.  However, Oracle have recently announced End of Public Updates of Java SE 8

What can we expect from MarkLogic?

MarkLogic will support OpenJDK 9, OpenJDK 10 and OpenJDK 11 starting with MarkLogic Server 9.0-9 and associated products.

These products/implementations include:

From the 9.0-9 release onwards, we will no longer QA test our products with Oracle JDK.

We will support Amazon Corretto JDK as part of our Amazon offerings.  Corretto meets the Java SE standard and certified compliant by AWS using the Java Technical Compatibility Kit.

The latest version of MarkLogic Server is available to download from:

http://developer.marklogic.com/products

JDK Requirements for Data Hub Framework (DHF) Users

Requirements are discussed in further detail in the DHF documentation, however it's important to note that versions of DHF prior to the 5.2 release require Java 8.

JDK Requirements for MarkLogic on AWS

The mlcmd script supports startup operations and advanced use of the Managed Cluster features. The mlcmd script is installed as an executable script in /opt/MarkLogic/bin/mlcmd

In order to run any mlcmd command, user must be logged into the host and running as root or with root privileges. The hosts must also have Java installed and the java command in the PATH or JAVA_HOME set to the JRE or JDK home directory. 

If the cluster is configured using any of MarkLogic AMIs as-is or using MarkLogic AMI to build custom AMIs or cloud formation templates to create the cluster, mlcmd is required at the start up of MarkLogic server and so the JDK.

(3 vote(s))
Helpful
Not helpful

Comments (0)