du_upgrade_toolkit command uniimp fail Cannot retrieve correct java version
search cancel

du_upgrade_toolkit command uniimp fail Cannot retrieve correct java version

book

Article ID: 271540

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The commands from the du_upgrade_toolkit (uniimp or uniexp) fail with the below error

===============================================================
DUAS Command to import Dollar Universe objects from an XML file
===============================================================
Embedded jre seems to not be valid on this machine, trying with local ones.
Cannot retrieve correct java version from /dutoolkit/bin/../bin/jre/orsyp_jre/jre/bin/java.
Cannot retrieve correct java version from java.
Java command has not been found or is not valid. Verify that the variable JAVA_ORSYP or JAVA_HOME is set, or that "java" command is valid and reachable.

After further investigation, it's found that somehow the JRE had not been deployed in the folder /dutoolkit/bin/../bin/jre/orsyp_jre/ as expected.

Environment

Release : 6.x

Component: du_upgrade_toolkit

OS: Unix/Linux

Resolution

Issue resolved after:

  1. Downloading and unzipping jre-8u381-linux-x64.tar.gz into <dutoolkit_folder>/bin/jre/orsys_jre/
  2. Then updating unigentools in <dutoolkit_folder>/bin/ to
    JAVA_REQ_VERSION=180