mojira.dev
MCL-12973

minecraft-launcher on Gentoo Linux can't launch Minecraft Java Edition

The latest minecraft-launcher for Linux starts normally but show error after launching game.

See log attached.

Looks like problem in this error

 

[Info: 2020-01-06 05:28:41.058850136: GameCallbacks.cpp(142)] Launcher/launcher (main) Info * run-java-tool was invoked directly

* run-java-tool should only be used via symlinks to it

 

Linked issues

Attachments

Comments 3

Is there a file with a name starting with hs_err_pid in your .minecraft folder? If so, can you attach that here?

No, there is'nt file with this name.

 

$ pwd
/home/cppmm/.minecraft
$ find ./ -name "hs_err_pid*"
$

 

Same here, no hs_err_pid file.

openjdk version "1.8.0_232"
 OpenJDK Runtime Environment (IcedTea 3.14.0) (Gentoo icedtea-3.14.0)
 OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

Same error with different timestamp (edited in):

...
[Info: 2020-01-12 16:21:41.509639047: root_window_manager.cpp(245)] Checking if we can close the application...
[Info: 2020-01-12 16:21:41.509650568: main_context.cpp(181)] Hiding launcher!
[Info: 2020-01-12 16:21:41.567432896: GameCallbacks.cpp(142)] Launcher/launcher (main) Info * run-java-tool was invoked directly
* run-java-tool should only be used via symlinks to it

[Info: 2020-01-12 16:21:41.567499251: GameCallbacks.cpp(142)] Launcher/monitor (Process Monitor) Fatal Process crashed with exit code 1
[Info: 2020-01-12 16:21:41.569216357: GameController.cpp(468)] Game closed with id 1
...

Workaround:

Change the Java executable path to /usr/lib64/icedtea8/bin/java.

I'm hoping for a better solution, though. I'm guessing the root cause of this is that Minecraft takes the readlink of the Java executable and then runs it rather than directly running it.

Anton Kropachev

(Unassigned)

Community Consensus

Retrieved