All Apps and Add-ons

Splunk DB Connect: How to resolve "JRE Status: Unsupported JRE detected" error?

timmy13
Communicator

I have read every article I can find on here to resolve this issue and nothing seems to work. I have installed Splunk DB Connect, but when trying to point to the JRE, I get the apparently common error...

JRE Status: Unsupported JRE detected
Using Oracle Corporation JRE version 1.8, OpenJDK 64-Bit Server VM
Need Oracle Corporation JRE version 1.8

I've removed and installed every version I can find and nothing seems to work.

Please anyone that thinks they can help, let me know what information I might provide to assist you in assisting me.

Thanks in advance.

0 Karma
1 Solution

beatus
Communicator

timmy13,
I'd check your JRE path in the settings and ensure that's pointing to the version you'd like it to.
Also, make sure you're using Oracle JRE, not openJDK/JRE

You could try pulling down a version of Oracle JRE and extracting it to a specific path and pointing DB Connect to that version to ensure you're utilizing the correct version. If that fixes the problem i'd recommend installing it properly to /usr/lib and updating the path.

View solution in original post

0 Karma

beatus
Communicator

timmy13,
I'd check your JRE path in the settings and ensure that's pointing to the version you'd like it to.
Also, make sure you're using Oracle JRE, not openJDK/JRE

You could try pulling down a version of Oracle JRE and extracting it to a specific path and pointing DB Connect to that version to ensure you're utilizing the correct version. If that fixes the problem i'd recommend installing it properly to /usr/lib and updating the path.

0 Karma

timmy13
Communicator

This resolved it. Thanks so much!!!!

0 Karma

harsmarvania57
Ultra Champion

Which version of JRE you have installed and is it OpenJDK or Oracle JRE ?

Are you providing JRE full path in your DB connect configuration? If yes then can you please provide output of <JRE_HOME>/bin/java -version

0 Karma

timmy13
Communicator

I have tried both openjdk and oracle jre. Currently I have installed jre1.8.0_111.x86_64 via yum, and jre-8u111-linux-x64.rpm via rpm. The JRE full path is /usr/lib/jvm/jre.

/bin/java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...