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: 1098
Popularity: 4.20
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

1 2 3 4 5 6 .. 52 Next › Last »

marvhus commented on 2024-07-29 16:27 (UTC) (edited on 2024-07-29 16:38 (UTC) by marvhus)

@pschichtel As I mentioned in the comment, it uses its own Java version, that the launcher downloads for you.

Edit: After you mentioned it, I double checked if there is a setting for choosing the runtime, and it turns out it does let you do that, and after trying various versions, either telling me it won't work, or giving me the same error as with the default one, but I got it to work with 22.0.2 (The default one that comes with the launcher is 21.0.3)

pschichtel commented on 2024-07-29 15:49 (UTC)

@marvhus the libnio.so is missing the symbol NET_SockaddrToInetAddress, so the issue is likely that the Java version you are using to run the game doesn't match the game's expectation. I don't think this is a launcher issue and especially not an issue of this package.

marvhus commented on 2024-07-29 15:41 (UTC) (edited on 2024-07-29 15:43 (UTC) by marvhus)

Hello, I'm having issues with launching the game. When I try to launch a version of the game it fails and gives me the message:

ERROR
Game Crashed
An unexpected issue occured and the game has crashed. We're sorry for the inconvenience.
Exit Code: 1

And in the launcher log it tells me this:

[Info: 2024-07-29 15:24:55.392632606: MinecraftJavaLoggingContext.cpp(65)(T:nqB/57neJjM=)] Launcher/launcher (main) Info Error: LinkageError occurred while loading main class net.minecraft.client.main.Main
    java.lang.UnsatisfiedLinkError: <APPDIR>/runtime/java-runtime-delta/linux/java-runtime-delta/lib/libnio.so: <APPDIR>/runtime/java-runtime-delta/linux/java-runtime-delta/lib/libnio.so: undefined symbol: NET_SockaddrToInetAddress
Runtime.exit(1) logging failed: Could not initialize class jdk.internal.module.SystemModuleFinders$SystemImage

[Info: 2024-07-29 15:24:55.392676976: MinecraftJavaLoggingContext.cpp(65)(T:nqB/57neJjM=)] Launcher/monitor (Process Monitor) Fatal Process crashed with exit code 1

I have no idea how to fix this. Earlier in the log it shows that it uses it's own Java (OpenJDK 21.0.3), so that's not an issue:

[Info: 2024-07-29 15:24:55.307992113: Process_Linux.cpp(129)(T:ZNTIh48/bT4=)] Starting process $HOME/.minecraft/runtime/java-runtime-delta/linux/java-runtime-delta/bin/java

I have made sure libnio.so is executable, and I've checked what libnio.so has all it's dependencies (with ldd), and it was missing libjvm.so, but that was located at .minecraft/runtime/java-runtime-delta/linux/java-runtime-delta/lib/server/libjvm.so but to make sure, I copied it over to the same directory libnio.so is in, but it still doesn't work...

I have also tried deleting my .minecraft directory, and reinstalling minecraft-launcher, but neither of them have worked.

Does anyone know how I can fix this?

pschichtel commented on 2024-06-17 22:15 (UTC)

I just took the time to review this package and check if there is anything to the out-of-date flag.

  1. the launcher bootstrap (that's what this package actually installs) is still up to date with version 1.0.1221, I just downloaded the latest version from the website and compared the hashes, they match.
  2. @virtualsid is right, the dependency list of the package was a major mess. I reduced it to the minimum set of dependencies that still satisfies all dynamically linked libraries. 3. I've added org.freedesktop.secrets which covers gnome-keyring or what ever you might want to use for secrets

Ayu2805 commented on 2024-06-15 19:54 (UTC) (edited on 2024-06-15 20:23 (UTC) by Ayu2805)

You can use the following PKGBUILD to install the latest Minecraft launcher. Note that game updates will be provided through the launcher itself. I have updated the pkgrel accordingly.

pkgname=minecraft-launcher
pkgver=1.1.26
pkgrel=2
pkgdesc="Official Minecraft Launcher"
arch=('x86_64')
url="https://mojang.com/"
license=('All Rights Reserved')
depends=('alsa-lib' 'at-spi2-core' 'cairo' 'dbus' 'expat' 'fontconfig' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3'
         'jre-openjdk' 'libcups' 'libdrm' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'mesa'
         'nspr' 'nss' 'pango' 'util-linux-libs' 'xorg-xrandr' 'zlib')
optdepends=('flite: narrator support'
            'org.freedesktop.secrets: store credentials across sessions')
source=("https://launcher.mojang.com/download/Minecraft.tar.gz"
        "minecraft-launcher.desktop"
        "https://launcher.mojang.com/download/minecraft-launcher.svg")

sha256sums=('c1d213e40825d87a9a554a8356b81a6a03fc692e0fbe3f85e580df7fc8c34010')

package() {
  install -Dm644 "minecraft-launcher.svg" "$pkgdir/usr/share/icons/hicolor/symbolic/apps/minecraft-launcher.svg"
  install -Dm644 "minecraft-launcher.desktop" "$pkgdir/usr/share/applications/minecraft-launcher.desktop"
  install -Dm755 "minecraft-launcher/minecraft-launcher" "$pkgdir/usr/bin/minecraft-launcher"
}

Alternatively, if you're not concerned about tracking system packages, as most dependencies are likely already installed, you can directly install the package using the following command:

sudo pacman -S --needed --noconfirm jre-openjdk
wget -q -nc --show-progress https://launcher.mojang.com/download/Minecraft.tar.gz
tar -xf Minecraft.tar.gz
sudo cp minecraft-launcher/minecraft-launcher /usr/bin/
sudo wget -q -nc https://launcher.mojang.com/download/minecraft-launcher.svg -P /usr/share/icons/hicolor/symbolic/apps/
echo -e "[Desktop Entry]\nType=Application\nVersion=1.0\nName=Minecraft Launcher\nComment=Official Minecraft Launcher\nExec=minecraft-launcher\nIcon=minecraft-launcher\nTerminal=false\nCategories=Game;Application;\nStartupWMClass=minecraft-launcher" | sudo tee /usr/share/applications/minecraft-launcher.desktop > /dev/null

Note: This is a code from a script I made for gaming in archlinux.

kode54 commented on 2024-06-12 01:47 (UTC) (edited on 2024-06-12 01:49 (UTC) by kode54)

@Lyr1cal: At the very least, it should be updated with a new pkgrel with the dependency changes suggested below. Microsoft’s launcher bundles its own Java runtime just for Minecraft, and gnome keyring is used to store credentials across sessions.

Edit: As in, it fetches a Minecraft version specific runtime when installling a given version, rather than requiring the distribution packaging.

Lyr1cal commented on 2024-06-11 22:48 (UTC)

Why is this marked as out-of-date? The launcher is very much up to date and the game updates are provided through the launcher.

virtualsid commented on 2024-02-17 06:31 (UTC)

I'm very new to Arch (I just installed today!), apologies if I'm missing something obvious.

I noticed some odd dependencies - dependencies that don't seem to be needed for the modern launcher. In particular, the java-runtime one - I edited PKGBUILD on my machine to remove java-runtime, with no ill effect.

Also, is it worth putting in optional: gnome-keyring? That way the login could be saved between sessions?

siliconwaffle commented on 2024-01-13 20:00 (UTC)

Is it possible to disable the bootstrap launcher updates?

sparkys commented on 2023-09-05 11:36 (UTC) (edited on 2023-09-13 12:04 (UTC) by sparkys)

Alright, I've figured it out. I used helvum to connect my headphone 'playback_FL' and "playback_FR' to channel 1 and channel 2 and now I can hear ingame sounds, great.