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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...