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!

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

[Coming Soon] Splunk Observability Cloud - Enhanced navigation with a modern look and ...

We are excited to introduce our enhanced UI that brings together AppDynamics and Splunk Observability. This is ...