23.3.3 OI connector will not install
search cancel

23.3.3 OI connector will not install

book

Article ID: 276888

calendar_today

Updated On:

Products

DX NetOps DX Operational Intelligence

Issue/Introduction

I am attempting to install/upgrade the OI connector for my 23.3.4 Netops  - note no OI connector is included in the Broadcom downloads so I used the 23.3.3 installable 

When I run the installer - I get stuck on the Choose a Virtual Machine step:

 

DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): Y

 

===============================================================================
Choose Java Virtual Machine
---------------------------

Please Choose a Java VM for Use by this Application

  ->1- Choose a Java VM already installed on this system

ENTER THE NUMBER FOR THE JAVA VM, OR PRESS <ENTER> TO ACCEPT THE
      CURRENT SELECTION:
ENTER THE ABSOLUTE PATH TO THE JAVA VM EXECUTABLE OF YOUR CHOICE
      : /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/bin/java

The provided path does not point to a valid Java Virtual Machine for this installation.  Please choose again.

  ->1- Choose a Java VM already installed on this system

ENTER THE NUMBER FOR THE JAVA VM, OR PRESS <ENTER> TO ACCEPT THE
      CURRENT SELECTION: 1
ENTER THE ABSOLUTE PATH TO THE JAVA VM EXECUTABLE OF YOUR CHOICE
      : /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/bin/java

The provided path does not point to a valid Java Virtual Machine for this installation.  Please choose again.

  ->1- Choose a Java VM already installed on this system

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

Environment

23.3.3. OI installer in a 23.3.4 NetOps environment

Cause

The InstallAnywhere installer for OIConnector has difficulties locating aJava Virtual Machine on which to run if using Java 11.0.20+, because of new zip file validation in newer Java releases that break existing InstallAnywhere functionality.  The problem will not be logged, but InstallAnywhere will behave as shown in the Introduction above.

Resolution

Example commands to run:

To add Java to your path:

  • export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64"
  • export PATH=$JAVA_HOME/bin:$PATH

Then:

  • export JAVA_TOOL_OPTIONS=-Djdk.util.zip.disableZip64ExtraFieldValidation=true

 

You can also use the alternatives --config java.  You may have see several options - if so, the ‘alternatives‘ command will let you set which will be the real program that will be executed when the OI installer is called