Has anyone had any success running minecraft or minecraft-launcher on manjaroarm (aarch64)?

Has anyone had any luck running Minecraft on Manjaro ARM? I've tried a couple of AUR pacakges on my Pinebook Pro, but without success. The official aur/minecraft-launcher throws an architecture incompatibility error. aur/minecraft installs, and opens, but I get a fatal error when trying to run the game from the launcher:

[19:34:26 FATAL]: Unhandled exception in thread Thread[pool-2-thread-2,5,main]
	at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:191) ~[Minecraft.jar:?]
	at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:146) ~[Minecraft.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) ~[Minecraft.jar:?]
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ~[Minecraft.jar:?]
	at com.google.gson.Gson.fromJson(Gson.java:795) ~[Minecraft.jar:?]
	at com.google.gson.Gson.fromJson(Gson.java:761) ~[Minecraft.jar:?]
	at com.google.gson.Gson.fromJson(Gson.java:710) ~[Minecraft.jar:?]
	at com.google.gson.Gson.fromJson(Gson.java:682) ~[Minecraft.jar:?]
	at net.minecraft.launcher.updater.RemoteVersionList.getCompleteVersion(RemoteVersionList.java:32) ~[launcher.jar:1.6.89-j]
	at net.minecraft.launcher.updater.MinecraftVersionManager.getLatestCompleteVersion(MinecraftVersionManager.java:213) ~[launcher.jar:1.6.89-j]
	at net.minecraft.launcher.updater.MinecraftVersionManager.getLatestCompleteVersion(MinecraftVersionManager.java:37) ~[launcher.jar:1.6.89-j]
	at com.mojang.launcher.game.runner.AbstractGameRunner.playGame(AbstractGameRunner.java:67) ~[launcher.jar:1.6.89-j]
	at net.minecraft.launcher.game.GameLaunchDispatcher$1.run(GameLaunchDispatcher.java:111) ~[launcher.jar:1.6.89-j]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_171]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

I've tried jdk13-openjdk and jdk8-openjdk. No dice with either.

Remember to check/switch your default environment.

Arch Wiki article

I've been setting the java version used 'here' (see image below) up until now.

Minecraft%20Launcher

Would there be any difference from the game's perspective? I don't really want to make jre8-openjdk my default java runtime environment. It's getting on a bit now.

So I tried switching between four different versions of openjdk via archlinux-java set, but each time I got the same initial error. Has anyone managed to get Minecraft working on Manjaroarm? If so, how?

The lines above that unhandled exception provide some useful information (at least in my case):

[18:08:22 INFO]: Refreshing local version list...
[18:08:22 INFO]: Refreshing remote version list...
[18:08:22 INFO]: Refresh complete.
[18:08:23 INFO]: Loaded 1 profile(s); selected 'CampGareth'
[18:08:23 INFO]: Refreshing auth...
[18:08:23 INFO]: Logging in with access token
[18:09:04 INFO]: Getting syncinfo for selected version
[18:09:04 INFO]: Queueing library & version downloads
[18:09:05 FATAL]: Unhandled exception in thread Thread[pool-2-thread-2,5,main]
com.google.gson.JsonSyntaxException: duplicate key: null
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:191) ~[Minecraft.jar:?]
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:146) ~[Minecraft.jar:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) ~[Minecraft.jar:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ~[Minecraft.jar:?]
        at com.google.gson.Gson.fromJson(Gson.java:795) ~[Minecraft.jar:?]
        at com.google.gson.Gson.fromJson(Gson.java:761) ~[Minecraft.jar:?]
        at com.google.gson.Gson.fromJson(Gson.java:710) ~[Minecraft.jar:?]
        at com.google.gson.Gson.fromJson(Gson.java:682) ~[Minecraft.jar:?]
        at net.minecraft.launcher.updater.RemoteVersionList.getCompleteVersion(RemoteVersionList.java:32) ~[launcher.jar:1.6.89-j]
        at net.minecraft.launcher.updater.MinecraftVersionManager.getLatestCompleteVersion(MinecraftVersionManager.java:213) ~[launcher.jar:1.6.89-j]
        at net.minecraft.launcher.updater.MinecraftVersionManager.getLatestCompleteVersion(MinecraftVersionManager.java:37) ~[launcher.jar:1.6.89-j]
        at com.mojang.launcher.game.runner.AbstractGameRunner.playGame(AbstractGameRunner.java:67) ~[launcher.jar:1.6.89-j]
        at net.minecraft.launcher.game.GameLaunchDispatcher$1.run(GameLaunchDispatcher.java:111) ~[launcher.jar:1.6.89-j]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
        at java.base/java.lang.Thread.run(Thread.java:830) [?:?]

That reads to me like some API has to be talked to before downloading the minecraft jar itself and that API responds with some JSON that has changed format into something unexpected.

https://launchermeta.mojang.com/mc/game/version_manifest.json
Digging a bit further the version manifest is ^ here and lists which json file to look at for links to the components of a release, the format for the list of components seems to have changed between 1.14 and 1.15 so downloading 1.15 fails while 1.14 works. Combine that with using openjdk-8 not 13 (edit profile, java settings, executable) and I get... different errors that I don't know how to resolve, but from the game not the launcher!

Internal exceptions (10 events):
Event: 69.423 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.j(ZZ)Z> (0x0000ffff3cdf8390) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.424 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.i(ZZ)Z> (0x0000ffff3cdfaaa0) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.425 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.h(ZZ)Z> (0x0000ffff3cdfd1b0) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.426 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.g(ZZ)Z> (0x0000ffff3cdff8c0) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.427 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.f(ZZ)Z> (0x0000ffff3ce01fd0) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.428 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.e(ZZ)Z> (0x0000ffff3ce046e0) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.429 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.d(ZZ)Z> (0x0000ffff3ce06df0) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.430 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.c(ZZ)Z> (0x0000ffff3ce09500) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.431 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.b(ZZ)Z> (0x0000ffff3ce0bc10) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]
Event: 69.433 Thread 0x0000ffff9000b2b0 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.a(ZZ)Z> (0x0000ffff3ce0e320) thrown at [/build/java8-openjdk-aarch64/src/jdk8u-aarch64-jdk8u171-b10/hotspot/src/share/vm/interpreter/linkResolver.cpp, line 620]

Oh well.

Thanks for looking into this.

Ben

I am experiencing some troubles too.. it's a pity, but I can't do anything about it. I want to play this game so badly, because I have read an article about minecraft on inversegamer. I am really mad, cause I can't play minecraft. This is my favorite game. I've been playing it a lot when I was younger, but then I left because I had a lot of other things to do. Now I want to get back and play it some more, but I just can't. Does anyone know how to fix that ? I would really appreaciate any help

Yes I have Managed to do it with MultiMC
I get about 14 fps without an overclock on the Pi 4 (4gb RAM)
Heres how i managed to run it https://github.com/techtimefor/MultiMC-on-Arch-Linux-ARM-and-Manjaro-ARM

1 Like

Minecraft-MultiMC-Pi4-ManjaroARM

Minecraft 1.13 + works
Minecraft versions under 1.13 are unplayable maybe an issue with LWJGL 2

1 Like

Forum kindly sponsored by