Windows Java CLI Instructions

These are the steps to take when you get the following error when attempting to run the ttrpg-convert.exe command in CMD

"The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA]. Please rebuild the executable with an appropriate setting of the -march option."

  1. Download and Install the latest JDK Take note of where you install this!
  2. Set your Environment Variables by doing the following:
    • Press the Win key and type in Environment and click on Edit System Environmental Variables
  3. Click on Environment Variables

image

  1. Under System Variables look for the variable titled JAVA_HOME, Click on it and then click Edit...

🚧 Note: If you don't see "JAVA_HOME" click on New then give the variable name "JAVA_HOME"

  1. Click Browse Directory... and search for the directory you installed the JDK from Step 1

image image

  1. Click OK on all the windows.
  2. Download the latest .jar Release
  3. Verify the install by running the command:
java -jar ttrpg-convert-cli-2.2.17-runner.jar --help

🚧 Make sure the command matches the version of the release you downloaded

  1. Continue on with the steps from the Use Java to run jar documentation.