Simple:- 1) Open:- vim /etc/profile export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/" export PATH=$JAVA_HOME/bin:$PATH save the above two lines 2) source /etc/profile The above command will update in OS or logout and login to ssh. 3) restart splunkd service 4) Now go to UI, splunk_db_connect, configuration, general, JRE Installation Path(JAVA_HOME) -> /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre save, it will work
... View more