All Apps and Add-ons

unable to set up java home

praveen13
Explorer

Hello
i have just installed the dbconnect on splunk but it is unable to setup java home . There is problem of java bridge server not running .
#############
# error #
#############
Encountered the following error while trying to update: In handler 'localapps': Error while posting to url=/servicesNS/nobody/dbx/dbx/install/java

1 Solution

praveen13
Explorer

hey guys i got it now . thanks for all useful suggestion . I just removed <-server> from the JVM Commandline options... its working now ...

View solution in original post

praveen13
Explorer

hey guys i got it now . thanks for all useful suggestion . I just removed <-server> from the JVM Commandline options... its working now ...

aelliott
Motivator

praveen13
Explorer

yes i run that

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

Did you then run the DB Connect configure/setup and put the path in the App?

0 Karma

linu1988
Champion

Hello Praveen,
This is a common problem. You need to do as below.

Goto->
cmd>set JAVA_HOME = C:\Progra~1\Java\Jre7`
>echo %JAVA_HOME% ...`

Let me know if you still have problem after this.

linu1988
Champion

During the setup it asks for JAVA HOME path :). Java Bridge will not if doesn't have the right path and config arguments.

dmaislin_splunk
Splunk Employee
Splunk Employee

You don't need to worry about JAVA_HOME being set on the command prompt. After you ran setup on the database app, what did it say about the java bridge status? The app itself has a search menu that also will display all of the error logs. If the java bridge is running, then you are already setup and ready to go.

aelliott
Motivator

did you try leaving the path blank within the splunk setup?

0 Karma

linu1988
Champion

Please exactly what i have written there.

"Program~1" exactly and try

0 Karma

praveen13
Explorer

I also tried this through command prompt

c:>set JAVA_HOME = c:programfiles\java\jre7
c:>echo %JAVA_HOME%
c:\programfiles\java\jre7

and on splunk
Java Home
c:\programfiles\java\jre7

but still not accepting the path

0 Karma

praveen13
Explorer

I also tried this through command prompt

c:>set JAVA_HOME = c:\programfiles\java\jre7
c:>echo %JAVA_HOME%
c:\programfiles\java\jre7

and on splunk
Java Home
c:\programfiles\java\jre7

but still not accepting the path .

0 Karma

praveen13
Explorer

yes i have install jre7 and the java home is
"C:/Program Files/Java/jre7"

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

Dd you install the JRE or JDK on the same server?

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...