ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Java Version check error in dxc-install.sh

book

Article ID: 112377

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction



"dxc-install.sh" has exited by Java version check errpr. 
# ./dxc-install.sh 
Step 1: Checking java version 
...found java executable in /opt/APM/Introscope10.7.0.45/EM/jre 
...require java version 1.8 or higher 

However, the version of java set in the environment variable JAVA_HOME is "1.8.0_112".

Environment

CA Experience Collector, CA Experience Collector 2.4.

Resolution

In line 46 of "dxc - install.sh", the java command is not running in the current directory.
Please correct this line as follows.
-------------dxc-install.sh-------------------------------------- 
46 LINE 
_jstr=$(java -version 2>&1 | awk -F '"' '/version/ { print $2 }') 
--- >
_jstr=$(./java -version 2>&1 | awk -F '"' '/version/ { print $2 }') 
----------------------------------------------------------------
It will be fixed in future version.