#Keeps crashing with error

1 messages · Page 1 of 1 (latest)

nocturne frost
#

The game crashed whilst initializing game
Error: java.lang.RuntimeException: Could not execute stage 'main' due to errors, provided by
'axiom'!

Also this only happens when the mod is added and is not an issue with my launcher from what I know.

true yew
#

could you send it whole

nocturne frost
nocturne frost
#

thats the full error

true yew
#

sorry didnt notice you sent it

fast bladeBOT
#

How to fix Axiom on arm Macs

You need 3 terminal commands. First, make sure you have Axiom downloaded, and also the Imgui-Java natives https://github.com/SpaiR/imgui-java/actions/runs/5554721970?pr=190 (requires a github account (there is a section "Artifacts" at the bottom. Inside of there, click on "native-libraries". That should start the download. It is a zip, and this one should be unpacked by double clicking it)). Make sure both downloads are in the same folder, and open a Terminal in that folder (type cd and drag the folder into terminal (and click enter)).

Then, run the following commands:

Recreate a part of the folder structure as in the Axiom jar (needed for editing the zip later)
mkdir -p io/imgui/java/native-bin

Then, copy over the Imgui-Java ARM natives and rename it
cp native-libraries/libimgui-javaarm64.dylib io/imgui/java/native-bin/libimgui-java64.dylib

Lastly, update the Axiom jar. It'll give a few warnings, but it works so you can ignore them.
zip -u Axiom-b0.97-for-MC1.20.1.jar io/imgui/java/native-bin/libimgui-java64.dylib (make sure the filename for axiom is correct)

Now you can put the Axiom jar in your mods folder and it should work. Any other files and folders created can be deleted.

Here is a video you can follow along with: https://cdn.discordapp.com/attachments/1139191845457506375/1139740572555411567/axiom_m1_fix.mp4
credit to myokan, twirre.me and ic22487

tawny prism
#

zip -u Axiom-b1.0.4-for-MC1.20.1.jar io/imgui/java/native-bin/libimgui-java64.dylib