/
Java version error on Solaris

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;

Related Content


Copyright Ā© 2020

Center for Internet SecurityĀ®


Related content

Java Error when Executing CIS-CAT Pro Assessor v4: "An Illegal Reflective Access Operation has Occurred"
Java Error when Executing CIS-CAT Pro Assessor v4: "An Illegal Reflective Access Operation has Occurred"
More like this
When do you need to install Java with CIS-CAT Pro Assessor v4?
When do you need to install Java with CIS-CAT Pro Assessor v4?
More like this
My CIS-CAT Pro Assessor Linux Bundle with JRE included is giving me an error on my Mac
My CIS-CAT Pro Assessor Linux Bundle with JRE included is giving me an error on my Mac
More like this
I am getting an error when I try and use the CIS-CAT Pro Assessor download for Linux with embedded Java
I am getting an error when I try and use the CIS-CAT Pro Assessor download for Linux with embedded Java
More like this
Scans Do Not Complete with the GUI vs the CLI (or vice versa)
Scans Do Not Complete with the GUI vs the CLI (or vice versa)
More like this