Package Details: minecraft-launcher 1:1.0.1221-3

Git Clone URL: https://aur.archlinux.org/minecraft-launcher.git (read-only, click to copy)
Package Base: minecraft-launcher
Description: Official Minecraft Launcher
Upstream URL: https://mojang.com/
Keywords: game minecraft
Licenses: custom
Conflicts: minecraft-launcher-beta
Provides: minecraft-launcher-beta
Submitter: shoghicp
Maintainer: pschichtel
Last Packager: pschichtel
Votes: 1097
Popularity: 2.93
First Submitted: 2017-01-18 14:17 (UTC)
Last Updated: 2024-06-17 22:10 (UTC)

Pinned Comments

petr commented on 2021-10-08 09:04 (UTC)

The package version is the version of the launcher bootstrap - the part that actually downloads and updates the launcher.

That means the version number of the actual launcher (2.x.xxx) is different from the version here (9xx+) on a fundamental level, and should not be compared.

The package is outdated only when the bootstrap version you get here is different from the bootstrap version you would get from minecraft.net when using the raw tarball.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 52 Next › Last »

teek commented on 2023-02-22 22:42 (UTC) (edited on 2023-02-22 22:44 (UTC) by teek)

Nevermind, I reinstalled, restarted (from the terminal) and now it works. Apologies.

I am getting this message after installing this package:

Unable to locate the Java runtime.
Error details: Success
Filename on disk: 
Path: .
Exists: Directory

Before that it was complaining about ogg files already being on disk, so I emptied my .minecraft folder.

I'm on KDE btw.

feixm commented on 2022-09-07 10:53 (UTC) (edited on 2022-09-07 10:59 (UTC) by feixm)

gnome-keyring should be added as an optdepend. Without this package you are forced to enter Minecraft credentials every single time the launcher is fired up.

diff --git a/PKGBUILD b/PKGBUILD
index 2e62273..8e73b26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ license=('All rights reserved')
 depends=('alsa-lib' 'at-spi2-atk' 'at-spi2-core' 'atk' 'dbus' 'expat' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3'
          'libcups' 'libdrm' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxrandr' 'mesa'
          'nspr' 'nss' 'pango' 'util-linux-libs' 'zlib' 'java-runtime' 'xorg-xrandr')
-optdepends=('flite: narrator support')
+optdepends=('flite: narrator support', 'gnome-keyring: Storage of your Minecraft credentials')
 conflicts=('minecraft-launcher-beta')
 provides=('minecraft-launcher-beta')
 source=("https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${pkgver}.tar.gz"

m00nw4tch3r commented on 2022-07-25 09:20 (UTC) (edited on 2022-07-25 09:24 (UTC) by m00nw4tch3r)

Almost all of the info about Java versions and Minecraft below is wrong.

Minecraft isn't that picky about the Java version, the only real delineation is that versions below 1.17 work with Java 8 up to IIRC 11, while newer versions work with latest Java. Mojang/Microsoft just added a java version check to the launcher which checks if you have an exact version of java installed, not if the java version you have is actually compatible with the game or not. You can disable it by deleting the JavaCheck.jar file.

https://bugs.mojang.com/browse/MCL-18306

@rabcor @bryiewes @mattsturgeon

paranoidAndroid0 commented on 2022-07-19 19:05 (UTC)

this package doesn't not work for me. I tried all the different version of jre.

antonfourier commented on 2022-07-17 17:43 (UTC)

Hi!

I encountered this when launching Minecraft 1.19 (or 1.18) with minecraft-launcher with jre-openjdk17 and nvidia-xrun (to force it to use my NVidia 920M):

The game would not launch, crashing immediately and not providing any useful logs, except for 1.18, when it said

.minecraft/runtime/java-runtime-beta/linux/java-runtime-beta/lib/libnio.so: undefined symbol: ipv6_available

On another forum I found that if I do the following export:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/default/lib/server

Some other java application would run fine. I tried this for my case as well, and now both 1.18 and 1.19 are running on my nvidia-xrun X instance.

Hope this helps somebody.

mattsturgeon commented on 2022-07-13 16:17 (UTC) (edited on 2022-07-13 16:19 (UTC) by mattsturgeon)

Yeah, unfortunately Java versions aren't always backwards-compatible (hence why oracle still maintain old java versions).

Most somewhat-recent Minecraft versions depend on Java 8 (aka 1.8) exactly - older or newer versions are incompatible.

Minecraft recently updated to the newer Java 17, but still might not be compatible (or perhaps not yet tested/supported on) the very latest java versions. Hence why the launcher checks you are running that particular Minecraft version with a known-to-be-compatible Java version.

This problem applies to all Java projects, although you usually only notice it on the bigger more complex ones.

rabcor commented on 2022-07-13 14:58 (UTC) (edited on 2022-07-13 14:59 (UTC) by rabcor)

bryiewes, it turns out i was mistaken anyways, the bundled version is openjdk 17; I actually tried downloading openjdk17 runtimes and targetting the binaries for that version in /usr/lib/jvm and it worked, apparently minecraft is just really picky about which version you're using. Now I'm just trying to figure out how to get it working with ZGC or Shenandoah garbage collection, gives me a generic misconfiguration error when I try to run with it.

<deleted-account> commented on 2022-07-13 14:34 (UTC)

rabcor, think of java 8 vs 18 like versions of Ubuntu. 18.04 is older but still partially maintained. 20.04 is lts, etc. Java 8 is older but still maintained and has the best compatibility with versions before 1.17. Java 18 works better for 1.17 and above. Java 8 is not outdated.

rabcor commented on 2022-07-13 14:31 (UTC) (edited on 2022-07-13 14:41 (UTC) by rabcor)

How do I use native java to run the game? If I try to use the launcher settings for java executable to /usr/bin/java or even /usr/lib/jvm/java-18-openjdk/bin/java I just get an error stating: "Your Java Runtime is incompatible. Please edit your installation to use the bundled Java Runtime. Name: Java version mismatch URL: https://aka.ms/jnierror"

tsj commented on 2022-06-07 17:40 (UTC) (edited on 2022-06-07 17:43 (UTC) by tsj)

I don't know if this is the latest version, but this exists: https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_1121.tar.gz compare with current source https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_928.tar.gz

Found via: https://github.com/flathub/com.mojang.Minecraft/blob/master/com.mojang.Minecraft.json