WAS 8.5.x deployment fails -- unable to find the Java version
search cancel

WAS 8.5.x deployment fails -- unable to find the Java version

book

Article ID: 242102

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

During IDM 14.4 WAS 8.5.5.18 on RH7 installation,

Getting the following error

Select Java Virtual Machine

---------------------------

Please choose the path to a JDK, version 1.8.0 or higher.

  ->1- /disk/apps/websphere/AppServer/java/jre/bin/java

    2- Choose a Java VM already installed on this system

ENTER THE NUMBER FOR THE JAVA VM, OR PRESS <ENTER> TO ACCEPT THE

      CURRENT SELECTION:

ConsoleAAManager wants to replay variable check for: class com.zerog.ia.installer.actions.ChooseJavaVMActionConsole

sExec: sh /disk/staging/iam/im-server/tmp_install/190359.tmp/JavaFullversion.sh

Running...

getInputStream:

STDOUT:

ErrorStream:

STDERR: java full version JRE 1.8.0 IBM Linux build 8.0.6.15 - pxa6480sr6fp15ifix-20200820_01(SR6 FP15+IJ26443)

RETURN_VALUE: 0

Finished.

String:    java full version JRE 1.8.0 IBM Linux build 8.0.6.15 - pxa6480sr6fp15ifix-20200820_01(SR6 FP15+IJ26443)

Field:     2

Delimiter: ""

CutString:

CutLeftover:

String:    java full version JRE 1.8.0 IBM Linux build 8.0.6.15 - pxa6480sr6fp15ifix-20200820_01(SR6 FP15+IJ26443)

Field:     1

Delimiter: -

CutString: java full version JRE 1.8.0 IBM Linux build 8.0.6.15

CutLeftover: - pxa6480sr6fp15ifix-20200820_01(SR6 FP15+IJ26443)

  ReplaceAll output:  Set $CUT_STRING$ to java full version JRE 1.8.0 IBM Linux build 8.0.6.15

MinimumVersion:

String: 1.8.0  Pieces: 1,8,0,0

ExistingVersion:

String: java full version JRE 1.8.0 IBM Linux build 8.0.6.15  Pieces: 0,8,0,0

Downgrade

String: java full version JRE 1.8.0 IBM Linux build 8.0.6.15  Pieces: 0,8,0,0

String: 1.8.0  Pieces: 1,8,0,0

$MINIMUM_VERSION_CHECK$ = ERROR

 

 

Environment

Release : 14.4

Component : Identity Manager

WAS 8.5.5.18

RHEL 7

Cause

This is due to pointing to the wrong JVM.

Resolution

Need to point to OpenJDK/Oracle JVM during installation but not IBM JVM.  This is due to IDM having other components ( such as connector server)  that use OpenJDK but not IBM JVM. Therefore, the installer is looking for it.  From IDM itself, it will use IBM JVM.