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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...