Launcher
Launcher copied to clipboard
fix not seeing java as 64 bit on M1 processors
On macOS with an M1 or M2 processor, it returns os.arch=aarch64 which is not recognized as a 64 bit architecture by the code.
This fixes that and the spurious warning goes away:
Checking Java version...
Java is version 21.0.1, using 32-bit architecture, from Eclipse Adoptium.
Your Java architecture is not matching your system architecture. You might want to install a 64bit Java version.
On macOS with an M1 or M2 processor, it returns
os.arch=aarch64which is not recognized as a 64 bit architecture by the code.This fixes that and the spurious warning goes away:
Checking Java version... Java is version 21.0.1, using 32-bit architecture, from Eclipse Adoptium. Your Java architecture is not matching your system architecture. You might want to install a 64bit Java version.
I got this on Windows 11 running on a Raspberry Pi, so it's all java versions for ARM, except 8 for some reason.