MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.19k stars 861 forks source link

java runtime was wrongly reported #5371

Open runlevel5 opened 3 months ago

runlevel5 commented 3 months ago

Operating System

macOS

Description of bug

the JRE was wrongly reported even though the game still start and run normally

Steps to reproduce


Minecraft folder is:
/Applications/games/MultiMC.app/Data/instances/1.20.4/.minecraft

Java path is:
/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java

Checking Java version...
Java is version 17.0.7, 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 can confirm the JRE is 64-bit architecture, not 32-bit

/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java -version
openjdk version "17.0.7" 2023-04-18
OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode)

Suspected cause

Unsure

This issue is unique

runlevel5 commented 3 months ago

must be as same as https://github.com/MultiMC/Launcher/pull/5304

Zetabite commented 3 months ago

It is. Wont fix. The fix will be to be able to natively use arm, until then, detecting arm java is unecessary, since it doesnt work in the first place