All Apps and Add-ons

DBConnect 3.1.4: Doesn't recognize OpenJDK 1.8 on Ubuntu server

bryansampsel
New Member

I have DBConnect 3.1.4. It lists out OpenJDK 1.8 specifically.

I'm running Ubuntu server 18.04.3 LTS. I loaded openjdk-8-jre-headless/bionic-updates,bionic-security,now 8u222-b10-1ubuntu1~18.04.1 amd64

or as the java -version says:

openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

However, when I try to configure the JAVA_HOME variable, I get the following:

{'message': 'Unsupported JRE detected', 'jre_need': 'Need Oracle Corporation JRE version 1.8 or OpenSDK 1.8', 'jre_using': 'Using Private Build JRE version 1.8, OpenJDK 64-Bit Server VM'} validate java command: /usr/lib/jvm/java-8-openjdk-amd64/bin/java.

Any ideas?

0 Karma

engineerzero
New Member

I was able to find the answer in this Splunk post:
https://answers.splunk.com/answers/696602/openjdk-support-plans-for-db-connect.html

See "jenshaizmann"s responses. You'll need to change a key in your Splunk app config.

0 Karma

ivanreis
Builder

I had a similar issues when I deployed the DB connect to Oracle linux. Per the error, the Java path is setup for JAVA JRE, if so, please update the path for JDK . I think we cannot have the both of them on the path, thus I am not really sure, because I did not test it. I remembered that I was only able to successfully deploy the DBconnect after the JDK was properly installed and the Path was setup as well. I never deploy DB connect to Ubuntu, but I believe the behavior can be similar. If possible run this installation in a sandbox to do not damage anything on the production environment.

0 Karma
Get Updates on the Splunk Community!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...