Minecraft and java?

Hi all,
I recently installed Tumbleweed, and everything has gone pretty smoothly, but I can’t run Minecraft. I’ve tried installing it via flatpak, lutris and just running the jar, but all methods fail in the same way. The launcher starts, but doesn’t load the Minecraft graphics. When I click Play, the process terminates with this (and looks like this, link to imgur):

[19:46:13 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.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~?:1.8.0_221]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~?:1.8.0_221]
    at java.lang.Thread.run(Unknown Source) ?:1.8.0_221]

I’m guessing this is a java issue, but I can’t solve it. I’ve tried installing openjdk and the stuff from oracle, but the result is the same.

Please help :slight_smile:

Hi and welcome to the Forum :slight_smile:
Never noticed an issue, but I use MultiMC5 to start minecraft and it’s working fine;

https://thumbs2.imagebam.com/1a/72/e6/f4784c1321830065.jpg](http://www.imagebam.com/image/f4784c1321830065)

Homepage: https://multimc.org/
OBS Project: https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/MultiMC5
Download: https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/MultiMC5-0.6.7+git20190919.6531aaa7-9.3.x86_64.rpm

Starting from command line see the same issue…


.....
Starting launcher.
[14:04:23 INFO]: Minecraft Launcher 1.6.89-j (through bootstrap 5) started on linux...
[14:04:23 INFO]: Current time is Oct 4, 2019, 2:04:23 PM
[14:04:23 INFO]: System.getProperty('os.name') == 'Linux'
[14:04:23 INFO]: System.getProperty('os.version') == '5.3.1-1-default'
[14:04:23 INFO]: System.getProperty('os.arch') == 'amd64'
[14:04:23 INFO]: System.getProperty('java.version') == '11.0.4'
[14:04:23 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[14:04:23 INFO]: System.getProperty('sun.arch.data.model') == '64'
[14:04:23 INFO]: proxy == DIRECT
[14:04:23 INFO]: Refreshing local version list...
[14:04:23 INFO]: Refreshing remote version list...
[14:04:23 INFO]: Refresh complete.
[14:04:23 INFO]: Loaded 1 profile(s); selected '(Default)'
[14:04:44 INFO]: Logging in with username & password
[14:04:47 INFO]: Getting syncinfo for selected version
[14:04:47 INFO]: Queueing library & version downloads
[14:04:48 FATAL]: Unhandled exception in thread Thread[pool-2-thread-3,5,main]
....

Hi,
thanks for the quick reply. Now it works and I get to join the green lizard cult fully :slight_smile:
Seriously enjoying the experience.

Hi
Good news :slight_smile: I think it’s something to do with the new launcher which is meant to be used now… I like MultiMC5 as can pick a version and add forge builds as well…