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."
- Download and Install the latest JDK Take note of where you install this!
- Set your Environment Variables by doing the following:
- Press the Win key and type in
Environment
and click onEdit System Environmental Variables
- Press the Win key and type in
- Click on
Environment Variables
- Under System Variables look for the variable titled
JAVA_HOME
, Click on it and then clickEdit...
🚧 Note: If you don't see "JAVA_HOME" click on New
then give the variable name "JAVA_HOME"
- Click
Browse Directory...
and search for the directory you installed the JDK from Step 1
- Click
OK
on all the windows. - Download the latest .jar Release
- 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
- Continue on with the steps from the Use Java to run jar documentation.