VNA install failing because Java 17 is not installed
search cancel

VNA install failing because Java 17 is not installed

book

Article ID: 276852

calendar_today

Updated On:

Products

DX NetOps CA Virtual Network Assurance

Issue/Introduction

Host Evaluation
---------------
Memory required: 16 GB, available: 16 GB..................................[ OK ]
COREs required: 4, available: 4...........................................[ OK ]

 

Java version 17 is not installed. Please install Java 17.
A problem occurred during installation (install directory not deleted). Backing up to /opt/install/CA_VNA_Install_bak

Can this work with JAVA 11?? We are having trouble getting JAVA 17 for RH7

Environment

VNA/SDX 23.3.3 and later

Cause

java 17 is required for 23.3.3 and higher

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/virtual-network-assurance/23-3/installing/review-installation-requirements-and-considerations_vna.html#concept.dita_669f11a1a7b734ff07869f266794dc77910ebbf3_sysreqs

Default JDK:
  • (23.3.3 and higher) Oracle or any OpenJDK 64-bit Java 17

Resolution

Java 17 should work fine even though it will likely not be in the RHEL 7 yum repository

The required Java 17 JDK can be downloaded from:


https://adoptium.net/temurin/releases/?version=17&arch=x64&os=linux

Make sure to download the JDK not JRE.

 

The following is an example of using this JDK:

1. Download the java 17 tar.gz or below is an example of using wget to do it directly. Note there may be newer versions available, this is just an example:

# wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9/OpenJDK17U-jdk_x64_linux_hotspot_17.0.9_9.tar.gz

2. Extract it into a directory

# tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.0.9_9.tar.gz --directory /opt/jdk-17.0.9+93. Update alternatives to include the downloaded version of java

3. Change directory

# cd jdk-17.0.9+9

4. Update alternatives

# update-alternatives --install /usr/bin/java java $(pwd)/bin/java 0

5. Set the java version to 17 using:

# alternatives --config java

There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
* 0 /opt/jdk-11.0.18+10/bin/java 1 auto mode
1 /opt/jdk-11.0.18+10/bin/java 1 manual mode
2 /opt/jdk-17.0.9+9/bin/java 0 manual mode

6. Then proceed with VNA installation

Additional Information

If the installation is still failing with errors relating to Java 17 please review the following KB:

VNA upgrade from 23.3.1 to 23.3.4 fails - wildfly does not start