All Apps and Add-ons

Splunk DB Connect 2: Why is the Setup page saying I have the wrong JRE Installation Path?

rubeniturrieta
Communicator

Hi guys

I'm trying to set up Splunk DB Connect 2, but I can't save the Setup because it's saying that the JRE Installation Path is wrong. Splunk is running under Windows with Java SE 8.

alt text

How to solve this?

Any help, i'll be grateful

Regards

1 Solution

masonmorales
Influencer

Here's how you can configure it manually:

1) Go to: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local
2) Create a new file name app.conf (if you create it using right click -> new -> text document, ensure that Windows Explorer is not hiding known file extensions, or it'll really be called app.conf.txt and it won't work)
3) Open the app.conf file in a text edit and add the following to it:

[install]
is_configured = 1

4) Save and close the app.conf file
5) Open the following file in a text editor: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local\inputs.conf
6) Update the following

 [rpcstart://default]
javahome = C:\Program Files\Java\jre1.8.0_60

7) Restart Splunk via command prompt

"C:\Program Files\Splunk\bin\splunk.exe" restart

View solution in original post

masonmorales
Influencer

Here's how you can configure it manually:

1) Go to: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local
2) Create a new file name app.conf (if you create it using right click -> new -> text document, ensure that Windows Explorer is not hiding known file extensions, or it'll really be called app.conf.txt and it won't work)
3) Open the app.conf file in a text edit and add the following to it:

[install]
is_configured = 1

4) Save and close the app.conf file
5) Open the following file in a text editor: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local\inputs.conf
6) Update the following

 [rpcstart://default]
javahome = C:\Program Files\Java\jre1.8.0_60

7) Restart Splunk via command prompt

"C:\Program Files\Splunk\bin\splunk.exe" restart

rubeniturrieta
Communicator

It's working!, thanks you very much!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...