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?
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.
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.