MaxiHuHe04/iTunes-Backup-Explorer

Can't execute on MacOS Ventura on M1 Pro

Closed this issue · 4 comments

Hello,
I'm uncertain if this problem is on my side or wherever, but when I'm trying to open the .jar nothing happens when I just click on it (yes I've done all steps and also got Java 20 installed) if I try to execute from the terminal though I get the error
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
after googling it I only found people having this problem in python but this is java, ChatGPT said it's compiled for the wrong architecture, but I thought java is universal and also you can't trust ChatGPT, then I tried running terminal with Rosetta and also the Java Launcher but nothing worked. Looking forward to you suggestions and help.
Thanks!

I ran into this same issue on my M1 MBP, and was able to at least get the utility to run once I installed Java 21 with included JavaFX from Azul. It didn't seem to be able to do much with my test iPhone backup though, so there may still be some incompatibilities.

Hey, can you launch other Java programs in your environment? This looks more of an installation issue of Java. Try Azul Zulu for arm64 with JavaFX like agentdr8 recommended: https://www.azul.com/downloads/?version=java-21-lts&os=macos&architecture=arm-64-bit&package=jdk-fx#zulu

Thanks! This solved my problem, I thought I had java properly installed but apparently not. Thanks man.

Glad to hear that!