search cancel

OneClickIntegrationSetup.exe - Error: Java was not found in the specified path

book

Article ID: 238052

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction


I am setting up the Spectrum OneClick Integration on the CA Service Desk server. The Setup includes running the OneclickIntegrationSetup.exe file from the %NxRoot%/bin directory of a Service Desk server.

The executable does not recognize my JRE root directory and cannot complete the install. 

I get the following error after trying to add the correct location

Error: Java was not found in the specified path.

Cause


The OneClickIntegrationSetup.exe was looking for an output string that matches an Oracle JRE. The JRE in this was an OpenJDK
   and the output string in `java -version` is slightly different causing the exe to not match and report java not found


Environment

Release : 21.2

Component : Spectrum Integrations

Resolution

 

The OneClickIntegrationSetup.exe will be updated in the NetOps 21.2.10 release to also pickup the
   output string from an openjdk implementation.


In the meantime, manually set the last 3 lines in the oc-configuration.cfg file.

Run the OneClickIntegrationSetup.exe up until the jre path error (this will populate the other
   values in the oc-integration.cfg) and then manually add the remaining 3 lines (adjusting the JRE_HOME to your jre/jdk path)

JRE_HOME=C:\Program Files (x86)\CA\SC\JRE\11.0.3
close=
transfer=

 

example

server=xxxx
port=443
path=spectrum
user=spectrum
password=c3BlY3RydW0=
logging=yes
SSL=yes
JRE_HOME=C:\Program Files (x86)\CA\SC\JRE\11.0.3
close=
transfer=

Attachments