Product Name
CIS-CAT Pro Assessor v4
Product Version
all
Date
Use /date
to insert current date
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 resolve the issue and allow the CIS-CAT assessment to complete;
Edit Assessor-CLI.sh
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
Add Comment