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:
23.3.3. OI installer in a 23.3.4 NetOps environment
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.
Example commands to run:
To add Java to your path:
Then:
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