Java version error on Solaris


Product Name

CIS-CAT Pro Assessor v4

Product Version

all

Date

Jul 23, 2020



 

Problem

We are getting a Java Error when trying to run a local CIS-CAT assessment scan on a Solaris Server.

Error: "The version of Java you are attempting to use is not compatible with CISCAT"

The java version is;

Java Version: Java(TM) SE Runtime Environment (build 1.8.0_231-b11)

Solution

We have seen this issue with Solaris and have a workaround to allow the CIS-CAT assessment to complete;

  1. Edit Assessor-CLI.sh

  2. Comment out the lines listed below;

if [ $? -eq "1" ]; then echo "Error: The version of Java you are attempting to use is not compatible with CISCAT:" echo "" echo $JAVA_VERSION_RAW echo "" echo "You must use Java 1.8.x, or higher. The most recent version of Java is recommended." exit 1; fi

 

3. You should be able to run Assessor-CLI.sh with no error.

 

Note that this is a workaround and should only be used for supported versions of Java. Please see the CIS-CAT v4 documentation for the current supported versions of Java

Keywords;


Copyright © 2020

Center for Internet Security®