Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

use stigviewr

/* Mac OS
1. Install StigViewer .zip file https://public.cyber.mil/stigs/srg-stig-tools/
2. Unzip folder and Copy the the STIGViewer-2.16.jar file (to copy file path)
3. Try running `java -jar copied_file_path.jar`
   - If you receive with keyword  an error run:
      -`brew tap bell-sw/liberica`
      -`brew install --cask liberica-jdk16-full`
      - Try running `java -jar copied_file_path.jar`  again
      - If you still receive an error:
          -`java --version`, if you don’t already have 16.0.2, download this version here:
             https://www.oracle.com/java/technologies/javase/jdk16-archive-downloads.html
          -`/usr/libexec/java_home -V` and ensure you have both versions of java, one being the downloaded version above
          -`export JAVA_HOME=`/usr/libexec/java_home -v 16.0``
          -`java -version` and ensure the java version being used is 16.0 now
          -Try running `java -jar copied_file_path.jar` again
4. StigViewer should launch
*/
 
PREVIOUS NEXT
Tagged: #stigviewr
ADD COMMENT
Topic
Name
8+2 =