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!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...