Package Details: minecraft-launcher 928-1

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: All Rights Reserved
Conflicts: minecraft-launcher-beta
Provides: minecraft-launcher-beta
Submitter: shoghicp
Maintainer: petr (masonmojang)
Last Packager: petr
Votes: 1025
Popularity: 11.65
First Submitted: 2017-01-18 14:17 (UTC)
Last Updated: 2021-08-13 14:49 (UTC)

Dependencies (29)

Required by (3)

Sources (3)

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

CybeX commented on 2022-05-08 03:15 (UTC)

Hmmm, after installing, I run minecraft from the terminal.

Launcher pops up, attempts to download update files (small dialog with progress bar) but disappears shortly afterwards.

$ minecraft-launcher 
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
(doesn't show dialog, press Ctrl + C, goes to next line and dialog appears)
^Chttps://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
OK
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
(launcher disappears at this point)
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
OK
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json

Process is still running (with no dialog visible), and continues (for atleast 12 hours)

ps -au | grep minecraft
cybex     130202  3.8  0.2 1162716 66896 pts/5   Sl+  05:01   0:06 minecraft-launcher
cybex     130367 17.7  0.1 875252 62972 pts/5    Rl+  05:02   0:14 /home/cybex/.minecraft/launcher/minecraft-launcher --nativeLauncherVersion 928 --chainLoad
cybex     131735  0.0  0.0   6672  2596 pts/6    S+   05:04   0:00 grep --color=auto minecraft

Running on Java 8 (originally had java-18, no go)

java -version
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (build 1.8.0_332-b04)
OpenJDK 64-Bit Server VM (build 25.332-b04, mixed mode)

System setup

 Kernel: x86_64 Linux 5.17.3-arch1-1
 Shell: bash 5.1.16
 DE: GNOME 42.0
 WM: Mutter

HurricanePootis commented on 2022-04-05 21:38 (UTC) (edited on 2022-04-05 21:43 (UTC) by HurricanePootis)

@TheK0tYaRa if gnome-keyring were to be added as a package, it should be added as an optional dep as not every uses GNOME keyring. Furthermore, kwallet is soon to get the Freedesktop Secrets API support, which is what the minecraft launcher.

You can try out kwallet with this support with the aur package kwallet-secrets, which applies the patch from the Freedesktop API pull request, and following the instructions in the pinned comments.

Basically, you first install kwallet-secrets Then, you restart your system (or KDE, making sure the kwallet binary gets killed) Thirdly, you open up Kwalletmanager on KDE and make sure you already have a wallet named kdewallet Then you run the following command

gdbus call --session --dest org.freedesktop.secrets --object-path /org/freedesktop/secrets --method org.freedesktop.DBus.Properties.Get org.freedesktop.Secret.Service Collections

And you should get something like

hurricane@TheCloutPC ~ $ gdbus call --session --dest org.freedesktop.secrets --object-path /org/freedesktop/secrets --method org.freedesktop.DBus.Properties.Get org.freedesktop.Secret.Service Collections
(<[objectpath '/org/freedesktop/secrets/collection/kdewallet']>,)

From this, you will take the wallet name after `collection, and then do

gdbus call --session --dest org.freedesktop.secrets --object-path /org/freedesktop/secrets --method org.freedesktop.Secret.Service.SetAlias default /org/freedesktop/secrets/collection/kdewallet

Then restart your system (or kwallet) for good measure

Then, now finally, you should be set to go

TheK0tYaRa commented on 2022-04-03 09:20 (UTC)

The package is lacking a gnome-keyring dependency according to their own article: https://help.minecraft.net/hc/en-us/articles/4408668374925-Secure-Token-Storage-Failure-on-Linux

pnotstar commented on 2022-03-09 06:27 (UTC)

If the launcher isn't remembering your microsoft account, installing chromium fixed it for me.

h0m3 commented on 2022-02-04 18:13 (UTC)

As a solution for this bug https://bugs.mojang.com/browse/MCL-18924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&showAll=true that prevents Minecraft from saving your Microsoft Account credentials, forcing you to login every time you open the game, you need to install gnome-keyring and if you're not using a GTK environment like KDE you need to follow this steps: https://wiki.archlinux.org/title/GNOME/Keyring#--start_step

It should be nice if gnome-keyring could be added as a optional dependency with a warning about this issue.

HurricanePootis commented on 2022-02-01 17:12 (UTC) (edited on 2022-02-01 17:13 (UTC) by HurricanePootis)

If you guys need a keyring manager on KDE that works with this, install kwallet-secrets, and follow the instructions in comments.

It is kwallet patched the freedesktop secrets API support.

nicegamer7 commented on 2022-01-23 05:42 (UTC)

@jextrevor I ran into that as well. In my case it was caused by launching Sway through dbus-run-session.

I figured out that was the problem by looking at an environment variable (I think it was DBUS_SESSION_BUS_ADDRESS).

jextrevor commented on 2022-01-12 06:50 (UTC)

After installing gnome-keyring, the launcher takes several minutes to load at first and then hangs again when trying to log in (tried several times, waiting several minutes each time, and never got it to finish). I don't know what's going on. Removing gnome-keyring makes it load fast again.

kamilst96 commented on 2022-01-08 21:50 (UTC) (edited on 2022-01-08 21:50 (UTC) by kamilst96)

@logothete What if you launch it this way?

$ LC_ALL=C minecraft-launcher

@timo_capa @jpegxguy Yeah, I rebuilt the package without java-runtime as dependency and purged all Java from my system. The game behaves as if nothing happened.

jpegxguy commented on 2022-01-06 12:04 (UTC)

Honestly, even though I use my system java and not the bundled one for the game, it is true that the launcher shouldn't need it, right? I think timo_capa is right

timo_capa commented on 2022-01-06 10:51 (UTC)

Gonna sound weird, but why is java a dependency?

minecraft-launcher doesn't depend on it, and the game itself ships a bundled java version for compatibility reasons

logothete commented on 2022-01-03 07:39 (UTC)

@kamilst96 Thanks for the reply. Unfortunately, that binary executes with error:

terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid

which seems to be the same as what's going on with the installed version as well.

Any theories as to what may be missing?

kamilst96 commented on 2022-01-02 18:04 (UTC)

@logothete Launch this binary from terminal: https://launcher.mojang.com/v1/objects/ce9e6169550628003e22de8086e9fe1186c2285e/minecraft-launcher

I blindly rebuilt arch installation and tried this launcher directly (1035), via AUR (928), and via my own PKGBUILD (1035). All of them worked with KDE / GNOME on X11, so you've done something specific in your install, or maybe forgot something.

logothete commented on 2021-12-30 17:32 (UTC)

Installation either through yay or through downloading and using makepkg leaves me with a launcher that won't launch at all, and gives no GUI indication of failure either. However, looking at my logs, I see the rather large:

Process 30502 (minecraft-launc) of user 1000 dumped core.

(a hundred odd lines of modules; not particularly relevant) Stack trace of thread 30502:

0 0x00007fec63f83d22 raise (libc.so.6 + 0x3cd22)
1 0x00007fec63f6d862 abort (libc.so.6 + 0x26862)
2 0x00007fec6430d802 _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x99802)
3 0x00007fec64319c8a _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xa5c8a)
4 0x00007fec64319cf7 _ZSt9terminatev (libstdc++.so.6 + 0xa5cf7)
5 0x00007fec64319f8e __cxa_throw (libstdc++.so.6 + 0xa5f8e)
6 0x00007fec6431036c _ZSt19__throw_logic_errorPKc (libstdc++.so.6 + 0x9c36c)
7 0x00000000004cd43a n/a (minecraft-launcher + 0xcd43a)
8 0x000000000043f0de n/a (minecraft-launcher + 0x3f0de)
9 0x0000000000410b56 n/a (minecraft-launcher + 0x10b56)
10 0x000000000041db10 n/a (minecraft-launcher + 0x1db10)
11 0x000000000040958c n/a (minecraft-launcher + 0x958c)
12 0x00007fec63f6eb25 __libc_start_main (libc.so.6 + 0x27b25)
13 0x000000000040ccf9 n/a (minecraft-launcher + 0xccf9)

Stack trace of thread 30504:

0 0x00007fec64d9a8ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
1 0x00007fec64d94574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
2 0x0000000000470689 n/a (minecraft-launcher + 0x70689)
3 0x00007fec64347782 execute_native_thread_routine_compat (libstdc++.so.6 + 0xd3782)
4 0x00007fec64d8e259 start_thread (libpthread.so.0 + 0x9259)
5 0x00007fec640455e3 __clone (libc.so.6 + 0xfe5e3)

ELF object binary architecture: AMD x86-64

Sorry for how much text that is. Anyone have any ideas for what's the matter here? Arch install is relatively fresh, maybe a week or so old, with no real problems.

kamilst96 commented on 2021-12-18 15:46 (UTC) (edited on 2021-12-18 16:11 (UTC) by kamilst96)

Bootstrap version 1035 is available, released 20210916, but it's not available as tar.gz.

Maybe you could follow Gentoo repo which tracks Mojang launcher meta.

Here's an example commit of what I mean: GitHub

cosmicmarley17 commented on 2021-12-16 19:37 (UTC) (edited on 2021-12-16 19:39 (UTC) by cosmicmarley17)

For people having issues needing to log into Microsoft every time, this solution from the wiki solved it for me: https://wiki.archlinux.org/title/GNOME/Keyring#--start_step

You have to have gnome-keyring installed.

huantian commented on 2021-12-15 20:17 (UTC)

@nebulon download the tar.go in the source and then download the launcher from the official site. You’ll see that they are identical

nebulon commented on 2021-12-15 18:38 (UTC)

@HurricanePootis I would agree with the flagging as explained in the flag comment: https://aur.archlinux.org/pkgbase/minecraft-launcher/flag-comment/

HurricanePootis commented on 2021-12-14 21:20 (UTC)

@Philanche This package isn't out of date, nor is the reason you stated correct. This package is a launcher for a tool that downloads that actual client that we run on our computer, so stating that the client is out of date is incorrect. Checking the version on my own client, I can see that this "out of date" package has me running the latest version of the client available.

loqy commented on 2021-12-14 04:41 (UTC)

+1 for adding gnome-keyring as dep/optdep

jazztickets commented on 2021-12-01 15:53 (UTC)

Why does the launcher create a "Downloads" directory in my home directory every time I launch it?

pemergency commented on 2021-11-25 07:59 (UTC)

I think the problem is somewhere else. On Windows PC im loggin to my ms account every time when i start the session (login prompt). From this point every app which using ms account is already logged in automatically, including Minecraft. The problem wasn't there before they start migration to ms from mojang

pemergency commented on 2021-11-25 07:56 (UTC) (edited on 2021-11-25 07:59 (UTC) by pemergency)

I think you guys missin the point. Even on Gnome with keyring configured correctly, I need to login to ms account every time i reboot PC. When i login to ms account first time, then i can get back to it as many time as i want and i won't be asking for password as long im still on the same sassion. As soon i logout from account and login again, it ask for ms password ;-)

lualuv897 commented on 2021-11-25 03:05 (UTC)

@funnyprun that is wrong. As many have said in the thread (and I have now confirmed myself), the problem with Microsoft login is that it is missing gnome-keyring. gnome-keyring may probably be one of the dependencies of chromium (I don't use chromium so I don't know) so when you have chromium installed that is why it works for you. The maintainer should probably add gnome-keyring as a dependency yeah.

funnyprun commented on 2021-11-25 02:31 (UTC)

I have found out what is wrong with the Microsoft login. It seems to have a dependency on chromium. I can only successfully load the login page when I have chromium installed. Therefore, we should explicitly list chromium as a dependency.

pemergency commented on 2021-11-24 09:14 (UTC)

kode54, Who says im not using gnome? It is on gnome indead and the keyring is storing the keys except the one for the launcher

kode54 commented on 2021-11-24 06:22 (UTC)

@pemergency As mentioned numerous times by people who want it added to the dependencies, it requires gnome-keyring to store your login credentials. This doesn't change if you're not using Gnome.

pemergency commented on 2021-11-23 12:37 (UTC)

Is there any way to prevent launcher asking for microsoft password every tiime i reboot the system ?

funnyprun commented on 2021-11-22 09:28 (UTC)

I am having an issue with Microsoft login. After clicking "Microsoft login," the login page refuses to load with the error: ERR_NAME_NOT_RESOLVED.

DNS is working because I can access Minecraft and Microsoft websites without any problems. Also, I could log in with the same launcher using a Mojang account. It just stopped working once I migrated to a Microsoft account.

Anyone with the same issue?

apaulsen commented on 2021-11-05 01:38 (UTC) (edited on 2021-11-05 14:35 (UTC) by apaulsen)

@Maximilian I was very happy to see your message, but it didn't solve the problem for me.

/update: after removing my account from the launcher and re-adding it I was able to successfully log in again.

Maximilian commented on 2021-11-04 07:59 (UTC)

To those who are looking here because the Minecraft launcher doesn't work anymore, you can fix it by deleting the launcher folder in the .minecraft folder.

anh0516 commented on 2021-10-15 14:49 (UTC)

The Minecraft Launcher requires gnome-keyring in order to store your Microsoft account credentials. I don't know how to make a pull request for a PKGBUILD here, but you should add to the optdepends line:

optdepends=('flite: narrator support' 'gnome-keyring: save account credentials for automatic login')

siyia commented on 2021-10-12 15:20 (UTC)

How can i play offline with this?

mattsturgeon commented on 2021-10-11 16:57 (UTC)

@MuggleTwist I suspect this might be leftover from back when the launcher used to use system java. (If we go back even further, the launcher used to be a java applet... although I think that predates this package).

If the launcher does indeed source its own java runtime, like it does on Windows, then java probably shouldn't be a package dependency.

MuggleTwist commented on 2021-10-10 15:59 (UTC)

Is there a reason this depends on java? The launcher downloads its own version of java and works fine with that. it doesn't need system-wide java installed.

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.

kode54 commented on 2021-10-08 05:10 (UTC)

Undoubtedly confusion between the application version, which Mojang lists, and you need to install the package to see locally, and the package file revision number, which you need Mojang's package repository manifest to see, as they only link to un-numbered packages for the initial download.

It will stay marked as out of date until a maintainer shows up to unflag it. It might help if someone pins either this, or a more concise explanation of the above, so that future users do not get confused by the two different version numbers.

huantian commented on 2021-10-08 03:56 (UTC)

Why is this package marked as outdated when it isn't?

kode54 commented on 2021-10-07 05:13 (UTC)

@Alchemistic: Why is that necessary? Anyone who has followed the Arch install guide should have their locale properly configured anyway.

Alchemistic commented on 2021-10-05 13:22 (UTC)

If the launcher isn't opening, check the locale (type locale in terminal). If the output has these two lines: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ...

Open the terminal and run this: export LC_ALL="en_US.UTF-8"

goetzc commented on 2021-10-03 21:33 (UTC)

Second that, now gnome-keyring is required to auto-login. See https://help.minecraft.net/hc/en-us/articles/4408668374925

Alec153 commented on 2021-09-28 16:15 (UTC) (edited on 2021-09-28 16:16 (UTC) by Alec153)

gnome-keyring should be added as a dependency as it is required for Microsoft accounts to save a security token.

IslandC0der commented on 2021-09-25 14:46 (UTC)

@alfrednewman https://help.minecraft.net/hc/en-us/articles/4408668374925

alfrednewman commented on 2021-09-18 23:01 (UTC)

I have to keep logging into the Microsoft account with the Minecraft launcher. Any way to fix this so it keeps me logged in?

torvald commented on 2021-09-14 15:51 (UTC)

@clebermatheus this package is no longer outdated

DarkThoughts commented on 2021-09-10 22:48 (UTC)

@bryiewes Thank you! Got it working again. The outdated version number & lack of votes led me onto the wrong path it seems.

bryiewes commented on 2021-09-10 22:38 (UTC)

@DarkThoughts use multimc-bin then. It's officially maintained and fully allows msa

DarkThoughts commented on 2021-09-10 22:36 (UTC)

@bryiewes I don't have an update button on the launcher. I use 0.16.13, which is the latest build of that AUR package. The "Add Microsoft" button is greyed out and I can only add Mojang accounts.

bryiewes commented on 2021-09-10 22:31 (UTC)

@DarkThoughts MultiMC has an update button on the launcher itself. Please update your launcher or go to multimc.org. fun fact peterix, the creator of mmc, is Petr. He works at Mojang.

DarkThoughts commented on 2021-09-10 22:28 (UTC)

@bryiewes I use https://aur.archlinux.org/packages/multimc5, which does not have an update button. And I usually do not use the official launcher, since it was not working at all unless I'd use that command, as stated in the bug report that I've linked.

bryiewes commented on 2021-09-10 21:26 (UTC)

@DarkThoughts MultiMC supports msa now. Update using the update button in mmc. Also you seriously launch minecraft-launcher with that command EVERY TIME?

DarkThoughts commented on 2021-09-10 21:17 (UTC) (edited on 2021-09-10 21:19 (UTC) by DarkThoughts)

Is there a way to launch this without having to "LC_ALL=C minecraft-launcher" through the konsole all the time? I unfortunately migrated my account, realizing that MultiMC isn't actually working with them yet, and the official launcher is not working properly for months now. https://bugs.mojang.com/browse/MCL-17531

Edit: And of course the official launcher doesn't take the Microsoft credentials either… Fucking great.

kode54 commented on 2021-09-10 03:13 (UTC) (edited on 2021-09-10 03:14 (UTC) by kode54)

Maybe they were confused by the "928-1" version number of the PKGBUILD. Which also happens to be the version or build number used for the actual package download.

xgjmibzr commented on 2021-09-08 03:04 (UTC) (edited on 2021-09-08 03:05 (UTC) by xgjmibzr)

@bryiewes, yes, as far as I can tell, it is up to date.

2.2.3963 is the same version installed, listed on the Minecraft Wiki, and referenced as the current version in the out of date comment.

https://i.imgur.com/LiTTUoi.png

bryiewes commented on 2021-09-07 18:54 (UTC)

@xgjmibzr so is minecraft-launcher up to date?

xgjmibzr commented on 2021-08-28 18:17 (UTC) (edited on 2021-08-28 18:18 (UTC) by xgjmibzr)

@clebermatheus why'd you mark this out of date?

Installed version per this package:

2.2.3963

Tuesday, July 27, 2021, 12:32:41 PM

which is the same version you referenced in your outdated comment.

bronko commented on 2021-08-22 09:25 (UTC) (edited on 2021-08-22 09:26 (UTC) by bronko)

I wonder, should gnome-keyring be an optional dependency then?

I guess this is a good idea :-)

How about using kwallet?

kwallet was already installed but was apparently not used by the launcher, however i did not further investigate this

One more thing: The launcher saved the password in the 'default' keyring, the login manager (SDDM in my case) did only unlock a keyring named 'login' (if user login and keyring password are the same). I used seahorse to set the 'login' keyring as the default one and now the keyring is automatically unlocked and minecraft-launcher does not ask for a password anymore.

TheCraiggers commented on 2021-08-16 18:45 (UTC)

I wonder, should gnome-keyring be an optional dependency then?

IslandC0der commented on 2021-08-13 21:40 (UTC)

How about using kwallet?

bronko commented on 2021-08-13 19:30 (UTC)

@ckuiper: thanks, that was the solution (installed gnome-keyring (even under KDE) and it saved the password)

ckuiper commented on 2021-08-13 19:10 (UTC)

I think secrets are now stored in a keyring now? So might need to set a keyring up for remember me to work.

bronko commented on 2021-08-09 17:11 (UTC) (edited on 2021-08-09 17:12 (UTC) by bronko)

"..my minecraft password isn't saved, I have to re-enter it everytime.."

I have the same issue, have to re-enter the password every time i start the launcher. Reinstalling and deleting the ~/.minecraft folder didn't help

Bananasmoothii commented on 2021-08-03 21:10 (UTC) (edited on 2021-08-03 21:11 (UTC) by Bananasmoothii)

Hello, my minecraft password isn't saved, I have to re-enter it everytime... Thanks in advance for any help, my discord is Bananasmoothii#1111

josphh commented on 2021-07-24 11:27 (UTC)

Minecraft refuses to boot up and nothing comes on screen ever since the launcher was updated.

DarkThoughts commented on 2021-07-10 00:09 (UTC)

Crashes on me on launch recently. https://bugs.mojang.com/browse/MCL-17531

set-l commented on 2021-06-19 08:22 (UTC)

Launcher requires libstdc++5 to show installer, as per bug ticket https://bugs.mojang.com/browse/MCL-18214

After doing pacman -S libstdc++5 the launcher shows the Minecraft installer.

jpegxguy commented on 2021-06-13 20:47 (UTC) (edited on 2021-06-14 21:35 (UTC) by jpegxguy)

jdk 16 you mean, and unfortunately official arch openjdk is still stuck on 15

Using jre from aur right now

Could also use the built in one which I think the launcher downloads automatically

EDIT: official openjdk is on 16 now, yay

urielsalis commented on 2021-06-13 19:11 (UTC) (edited on 2021-06-13 19:12 (UTC) by urielsalis)

Do note that 1.17 and above requires openjdk 16, not 8

jpegxguy commented on 2021-05-23 19:07 (UTC)

Since arch is a shared lib distro, I don't particularly appreciate programs bundling libraries, especially the whole JRE. It feels unclean to me.

I know there are advantage, like easier dependency management and also that disk space is cheap(er) now but it still feels wrong to me.

I think the recent version of this launcher are on par with the Windows version when it comes to downloading a bundled JRE, which is probably what Leafeon is talking about. Personally I don't like it, but I see the convenience for users.

I like to use my system JRE and will manually use system JRE 8 if needed (not neeeded right now), would be interesting if there was a way to block the JRE download in the launcher

mattsturgeon commented on 2021-05-23 19:01 (UTC)

While it's nice that the package doesn't force you to use a specific JRE, it can be a double edged sword. Seeing as various versions of Minecraft use different Java versions - and many modded/legacy versions require specific Java versions (anything using launchwrapper needs JRE 8 specifically) - this leads to having multiple java versions installed and having to manually select the correct java executable for each instance in the launcher.

On windows, the launcher will download the appropriate JRE for the Minecraft version selected and default to using it.

How will this behave on Linux going forward? For example if a user wishes to play a legacy version, 1.12 forge, and 1.17 will they be prompted to install the required JREs? Warned if they aren't using the recommended JRE version? Will the launcher default to the recommend JRE version if one is found installed or will this require manual configuration on a per profile basis?

jpegxguy commented on 2021-05-23 18:35 (UTC)

Since the aur package doesn't force a specific jre version, then you can use an autoupdating (though pacman) jre package

Leafeon commented on 2021-05-23 02:07 (UTC)

As of Minecraft 1.17 (unreleased as of this time), Minecraft: Java Edition for windows will be switching to Java 16.

Are there any plans to mirror these changes on the linux version?

konicks commented on 2021-03-11 17:08 (UTC)

IMPORTANT: IF YOUR LAUNCHER DOES NOT START AFTER THE NEW UPDATE RUN rm ~/.minecraft/launcher -rf in a terminal

ArkadSt commented on 2021-03-11 15:06 (UTC) (edited on 2021-03-11 15:07 (UTC) by ArkadSt)

@andreymal, yannl35133, same here. I also solved that by removing symlink and creating a normal folder. Turns out that new versions of the launcher do not recognize symlinks for some stupid reason, which results in this weird behaviour.

andreymal commented on 2021-03-10 23:16 (UTC)

I have the same problem with ~/.minecraft symlink. Replacing it with a bind mount helps.

yannl35133 commented on 2021-03-10 22:54 (UTC)

My ~/.minecraft is a symlink. It worked well, but now it doesn't and goes in an infinite loop.

MartinX3 commented on 2021-03-10 21:48 (UTC)

Thank you @huantian Removing "$HOME/.minecraft/launcher/" was the solution.

ArkadSt commented on 2021-03-10 19:15 (UTC)

Alright, now it works for some stupid reason

huantian commented on 2021-03-10 18:07 (UTC)

Was able to solve the same issue as @jpegxguy by deleting the .minecraft/launcher/ directory

Daniikk1012 commented on 2021-03-10 17:17 (UTC)

Same error as @jpegxguy, solved by clearing .minecraft, cd-ing into newly created .minecraft/bin directory and running launcher from there. No errors or infinite loops with this approach

ArkadSt commented on 2021-03-10 16:52 (UTC) (edited on 2021-03-10 16:53 (UTC) by ArkadSt)

Same here. @jpegxguy that's not a proper solution. I have cleared .minecraft folder and started minecraft-launcher 915-1. After downloading launcher files it closed and, according to the console output, it went into an infinite loop.

jpegxguy commented on 2021-03-10 16:27 (UTC) (edited on 2021-03-10 16:29 (UTC) by jpegxguy)

UPDATE: Solved! I downgraded to 887-2 and ran it, it updated some core files, then updated to the 917 package again. Now it runs. It seems like you need to have launched the previous version one last time before you go for the package update.

Hi, I just updated to v915 and the launcher immediately closes:

$ minecraft-launcher
[Info: 2021-03-10 16:26:11.677069597: NetQueue.cpp(157)] NetQueue: Setting up.
[Info: 2021-03-10 16:26:11.677328710: NetQueue.cpp(575)] NetQueue: worker thread started.
[Info: 2021-03-10 16:26:11.677577626: mainLinux.cpp(250)] Running launcher bootstrap (version 915)
[Debug: 2021-03-10 16:26:11.679329816: PlatformLinux.cpp(44)] HOME dir (getpwuid): /home/leo
[Debug: 2021-03-10 16:26:11.679376960: PlatformLinux.cpp(49)] HOME dir (env): /home/leo
[Info: 2021-03-10 16:26:11.687189528: Common.cpp(32)] Native Launcher Version: 915
[Info: 2021-03-10 16:26:11.687295199: Common.cpp(33)] Operating System: Linux
[Info: 2021-03-10 16:26:11.687352539: Common.cpp(34)] Application Data directory: //.../.minecraft
[Info: 2021-03-10 16:26:11.687412114: Common.cpp(35)] Executable Path: /.../minecraft-launcher
[Info: 2021-03-10 16:26:11.687462609: Common.cpp(36)] App Directory dir: //.../bin
[Info: 2021-03-10 16:26:11.687509403: Common.cpp(37)] Game data directory: //.../.minecraft
[Info: 2021-03-10 16:26:11.687556896: Common.cpp(38)] Launcher dir: //.../launcher
[Info: 2021-03-10 16:26:11.687607741: Common.cpp(39)] Java dir: //.../jre-x64
[Info: 2021-03-10 16:26:11.687663125: Common.cpp(40)] TmpDir dir: //.../MinecraftLauncher.1000
[Info: 2021-03-10 16:26:11.687716833: Common.cpp(41)] x64: true
[Info: 2021-03-10 16:26:11.688382216: mainLinux.cpp(308)] relaunchedExe: /home/leo/.minecraft/launcher/minecraft-launcher selfExe: /usr/bin/minecraft-launcher
[Info: 2021-03-10 16:26:11.688445213: mainLinux.cpp(312)] Top level executable, forwarding signals.
[Debug: 2021-03-10 16:26:11.688650338: SentryAPI.cpp(314)] The string '/usr' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688708936: SentryAPI.cpp(314)] The string '///usr' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688754891: SentryAPI.cpp(314)] The string '/home/leo' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688796238: SentryAPI.cpp(314)] The string '///home/leo' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688842124: SentryAPI.cpp(314)] The string '/home/leo/.minecraft' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688886683: SentryAPI.cpp(314)] The string '///home/leo/.minecraft' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688930823: SentryAPI.cpp(314)] The string '/home/leo/.minecraft/runtime' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.688975312: SentryAPI.cpp(314)] The string '///home/leo/.minecraft/runtime' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.689054862: SentryAPI.cpp(314)] The string '/tmp' was added to the logging blacklist
[Debug: 2021-03-10 16:26:11.689100259: SentryAPI.cpp(314)] The string '///tmp' was added to the logging blacklist
[Info: 2021-03-10 16:26:11.689137205: Common.cpp(32)] Native Launcher Version: 915
[Info: 2021-03-10 16:26:11.689209072: Common.cpp(33)] Operating System: Linux
[Info: 2021-03-10 16:26:11.689281428: Common.cpp(34)] Application Data directory: .../.minecraft
[Info: 2021-03-10 16:26:11.689366426: Common.cpp(35)] Executable Path: /.../minecraft-launcher
[Info: 2021-03-10 16:26:11.689443461: Common.cpp(36)] App Directory dir: .../bin
[Info: 2021-03-10 16:26:11.689530763: Common.cpp(37)] Game data directory: .../.minecraft
[Info: 2021-03-10 16:26:11.689608986: Common.cpp(38)] Launcher dir: .../.minecraft/launcher
[Info: 2021-03-10 16:26:11.689684625: Common.cpp(39)] Java dir: .../.minecraft/runtime/jre-x64
[Info: 2021-03-10 16:26:11.689762568: Common.cpp(40)] TmpDir dir: .../MinecraftLauncher.1000
[Info: 2021-03-10 16:26:11.689838067: Common.cpp(41)] x64: true
[Info: 2021-03-10 16:26:11.699963515: mainLinux.cpp(416)] Current executable is not in game directory, update and run game directory version
[Info: 2021-03-10 16:26:11.700108088: mainLinux.cpp(430)] Attempting to start the launcher
[Info: 2021-03-10 16:26:11.700159910: mainLinux.cpp(118)] Window closing, exiting process
[Info: 2021-03-10 16:26:11.737875995: mainLinux.cpp(456)] Launcher finished...

jpegxguy commented on 2021-03-02 14:21 (UTC)

Fair enough. It's time to keep only latest java installed as system. It kind of works out for me. I'd like it if you kept the option to change the path to the java binary. It's the best of both worlds, plus, it's under advanced settings for the profile.

petr commented on 2021-03-02 12:07 (UTC)

The aim is to ship a game and for it to work ideally out of the box with no issues, not make people mess with and have to care about what version their JRE package is, and why it crashes when they add mods.

jpegxguy commented on 2021-03-02 11:05 (UTC)

What's the use of a bundled java runtime on Linux? I already know about the java version situation and it's indeed important that a version of JRE 8 is provided, since it has the best compatibility. Why not use the system one though?

MartinX3 commented on 2021-03-02 10:49 (UTC)

@petr Thank you for the bug link! Forcing it on the intel workarounds it. :)

petr commented on 2021-03-02 10:46 (UTC)

@jpegxguy fair. That can be fixed easily :)

petr commented on 2021-03-02 10:42 (UTC) (edited on 2021-03-02 10:48 (UTC) by petr)

Well, we now have a bootstrap on Linux, similar to what the other platforms had for years.

That means the launcher updates itself, and you can switch between release/beta from inside of it.

We also updated the CEF (chromium embedded framework) to a version that isn't from 2016... And that may affect a few things. So please file bugs on https://bugs.mojang.com/ when you see them. The sooner, the better.

The other major change is the launcher installing a JRE for you. While that's nice, we also need the dependencies for a JRE, and that's why I'm keeping the java-runtime dependency. Not for actually using a java runtime from the system, but to get all of the dependencies for one from the system so our bundled one can work.

@MartinX3 are you using a switchable/dual graphics setup? This may be related: https://bugs.mojang.com/browse/MCL-17125

MartinX3 commented on 2021-03-01 18:07 (UTC)

Now the screen of the launcher is just black.

jpegxguy commented on 2021-03-01 18:04 (UTC)

Great to see the changes to the update mechanism.

I noticed, after looking at the package list, that /usr/bin/minecraft-launcher exists only as a symlink to /opt/minecraft-launcher/minecraft-launcher, and nothing else in in the /opt subdirectory.

In that case I think it'd be better if the minecraft-launcher executable existed immediately in the /usr/bin/ location, without any folders/files under /opt

minecraft-launcher /opt/
minecraft-launcher /opt/minecraft-launcher/
minecraft-launcher /opt/minecraft-launcher/minecraft-launcher
minecraft-launcher /usr/
minecraft-launcher /usr/bin/
minecraft-launcher /usr/bin/minecraft-launcher

Vinnie_PT commented on 2021-03-01 17:40 (UTC) (edited on 2021-03-01 17:41 (UTC) by Vinnie_PT)

Can't update your package? Yeah, i couldn't either, so here's the fix: Edit your PKGBUILD file and change these lines: pkgver=2.2.2159 ; source=( https://launcher.mojang.com/download/Minecraft.tar.gz minecraft-launcher.desktop https://launcher.mojang.com/download/minecraft-launcher.svg ) ; sha256sums=( 'a7d75ef47c8e940a56c8fad0c9a68f41df8d5df85df18377c53e3da5749c645c' '677e2442a1ae83cc58d8d403666e508129e97dbed37fdfafdceac6101dc0dee7' '35c2bcaeb09fa4b8864e9422fd66bf60847706f8b4400ec4a66ba6436b101f71' )

bkb commented on 2021-02-26 16:54 (UTC) (edited on 2021-02-26 16:59 (UTC) by bkb)

Jumor, l'autre y faisait trop le BG genre "oui merci d'avoir appelé la hotline des paquets dupliqués, votre message à été envoyé à la poubelle avec succès", maintenant son vieux package en double qui servait à rien s'est fait supprimer, fallais écouter, cheh

Thank you for holding. Your call is important to us. Please continue to hold and the next available agent will answer your call.

Ptdr

Alad commented on 2021-02-26 14:23 (UTC)

To address the claims in the comments: the AUR guidelines specifically mention there should be no duplicate AUR packages either - not just repo duplicates. One package is a .deb, another a .tar of the same software - that's a clear duplicate. Besides that's having a debian-specific binary available when there's a generic one is hardly useful (another criterion for AUR submission). Merging this to minecraft-launcher.

OPS_400 commented on 2021-02-22 21:08 (UTC)

thanks @Vinnie_PT

Vinnie_PT commented on 2021-02-22 20:31 (UTC) (edited on 2021-02-22 20:33 (UTC) by Vinnie_PT)

To get the latest version, change the following lines in your PKGBUILD file: pkgver=2.2.1867 ; sha256sums=( '5e19e3459015fb28bc54df588b6613320281d953bc2f394a28a95465637eeabe' '677e2442a1ae83cc58d8d403666e508129e97dbed37fdfafdceac6101dc0dee7' '35c2bcaeb09fa4b8864e9422fd66bf60847706f8b4400ec4a66ba6436b101f71' )

OPS_400 commented on 2021-02-22 17:56 (UTC)

Why this is marked as out of date?

ali.molaei commented on 2021-02-13 11:10 (UTC)

@AirportJake No problems here with jdk11 (Although Launcher is an Electron App and doesn't need Java to run)

AirportJake commented on 2021-02-12 23:41 (UTC)

I would like to report a bug that I have not seen reported yet.

When trying to open the launcher from the command line, it hangs with no output on the command line and only shows as an open process with no open GUI window. I tried both official Java 8 and OpenJDK Java 8 to no avail. The only solution was to download MultiMC. I believe this Reddit user is encountering the same bug. reddit.com/r/archlinux/comments/jvi67j/minecraft_launcher_doesnt_launch/

I am running a NVIDIA 1070 with java-8-openjdk as default java.

RunAndTumble commented on 2021-01-22 13:13 (UTC)

Is GTK2 still required as a dependency? I tried building the package w/o it and it builds and runs flawlessly (or so it seems).

iruoy commented on 2021-01-14 11:44 (UTC)

Oh and the PKGBUILD.template file can be removed from the git since it isn't used.

iruoy commented on 2021-01-14 11:41 (UTC)

The .gitignore can be updated to ignore packaged files so that users that don't use an AUR manager don't get conflicts when updating.

The change is just one line: https://git.sr.ht/~iruoy/minecraft-launcher/commit/9d378b6232299f083304518719256f266f12ad33

ali.molaei commented on 2020-12-18 08:08 (UTC)

2.2.909 is out https://minecraft.gamepedia.com/Launcher_version_history

JoeSchr commented on 2020-12-15 19:45 (UTC)

only thing currently working for me is using AppImage from here: https://github.com/ChristopherHX/linux-packaging-scripts/releases

xdotax commented on 2020-12-12 05:16 (UTC)

@WBryie

that did it, thank you very much!

WBryie commented on 2020-12-12 05:08 (UTC) (edited on 2020-12-12 05:08 (UTC) by WBryie)

Please update minecraft-launcher to the current launcher version, I have a github repo with everything, however pkgbuild is in my name and the .git folder isnt there.

https://github.com/RealThisNoobCoder/minecraft-launcher

WBryie commented on 2020-12-12 04:43 (UTC)

@xdotax please use minecraft-launcher and not minecraft, the sha256 sums for minecraft are broken and should not be used.

xdotax commented on 2020-12-12 03:16 (UTC) (edited on 2020-12-12 03:17 (UTC) by xdotax)

I get the same error for this package as minecraft-launcher:

==> Validating source files with sha256sums... minecraft-2.2.741.deb ... FAILED ==> ERROR: One or more files did not pass the validity check! Failed to build minecraft

Any help please? Referencing the pinned comment, I get this output from updpkgsums:

==> ERROR: PKGBUILD not found or is not a file

xdotax commented on 2020-12-12 02:46 (UTC)

ok, I set pkgver=2.2.909 and the sha256sums provided by Vinnie_PT

I am still getting the error:

==> Retrieving sources... -> Found minecraft-2.2.909.deb ==> ERROR: Integrity checks (sha256) differ in size from the source array.

yurikoles commented on 2020-12-11 19:01 (UTC)

To say more: only a name clash between official repo and AUR package is formally forbidden. So if there will be some minecraft in Arch repo, we may still provide some minecraft-deb or other implementation. The package has the right to exist even if it has at least one user.

yurikoles commented on 2020-12-11 18:55 (UTC)

You mistake me for someone else. I maintain a lot of packages in Arch User Repositor, this package is just one of them and it doesn't break any rules. This is the free software community, we are not a branch of M$ or whatever other company. If some package is promoted as an 'official' way to install a game, we appreciate it. But until there will be an official package in one of official Arch repo's this implementation or any different one has the right to exist.

bkb commented on 2020-12-11 18:45 (UTC)

What's your problem? You're maintaining a copy of an already existing package, why continuing?

yurikoles commented on 2020-12-11 18:40 (UTC)

@bkb

Thank you for holding. Your call is important to us. Please continue to hold and the next available agent will answer your call.

bkb commented on 2020-12-10 20:41 (UTC) (edited on 2020-12-10 20:43 (UTC) by bkb)

Minecraft-launcher was recognized as an official package for Arch by Microsoft

The launcher was chosen over the game itself

So unless your package is meant as a plug-in, a child of Minecraft-launcher to install Minecraft in the launcher, so unless Minecraft-launcher becomes a dependency of your package, you should delete this package

And if you want the Deb to be used in the launcher package, discuss with the maintainer

Vinnie_PT commented on 2020-12-10 20:35 (UTC)

To get the latest version change the following lines in your PKGBUILD

pkgver=2.2.909

sha256sums=( '02e6067790bb65b2f0229ae297806bbdc77d1d1934f8a49d5ca21286728da297' '677e2442a1ae83cc58d8d403666e508129e97dbed37fdfafdceac6101dc0dee7' '35c2bcaeb09fa4b8864e9422fd66bf60847706f8b4400ec4a66ba6436b101f71' )

yurikoles commented on 2020-12-10 12:02 (UTC)

@randyzhu

Breaking news :)

I saw mention of this package on official site half a year ago.

randyzhu commented on 2020-12-10 02:31 (UTC)

This AUR package is now officially recognized as the Minecraft download for Arch!

bkb commented on 2020-12-08 15:17 (UTC) (edited on 2020-12-08 15:18 (UTC) by bkb)

@shoghicp @petr I think it should be renamed Mojang Launcher and that Minecraft should be deleted to only let this launcher on the repository

It's the same problem on Lutris with Epic/Rockstar/Steam... Games Launcher

Theres some entries for the launcher and some entries for the games directly

Win8Error commented on 2020-12-01 14:58 (UTC)

Can you update the SHA256Sum in the PKGBUILD?

jpegxguy commented on 2020-11-21 02:05 (UTC) (edited on 2020-11-21 02:05 (UTC) by jpegxguy)

Is minecraft the same as minecraft-launcher now?

commented on 2020-11-02 12:49 (UTC)

Yeah, it feels like the beta should be providing this, the other way around.

Akrai commented on 2020-11-02 09:51 (UTC)

The package should provide minecraft-launcher, not minecraft-launcher-beta, right? Anyway, it would be a probably irrelevant mistake

ArkadSt commented on 2020-09-18 11:04 (UTC) (edited on 2020-09-18 17:37 (UTC) by ArkadSt)

The package was flagged out-of-date by mistake, I guess. It is currently up to date.

bkb commented on 2020-09-02 11:33 (UTC) (edited on 2020-09-02 11:44 (UTC) by bkb)

Choose which one to delete

                                   minecraft
https://aur.archlinux.org/packages/                  /
                                   minecraft-launcher

https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_*.tar.gz

VS

https://launcher.mojang.com/download/Minecraft.deb

bkb commented on 2020-09-02 11:33 (UTC) (edited on 2020-09-02 11:44 (UTC) by bkb)

Choose which one to delete

                                   minecraft
https://aur.archlinux.org/packages/                  /
                                   minecraft-launcher

https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_*.tar.gz

VS

https://launcher.mojang.com/download/Minecraft.deb

petr commented on 2020-07-28 11:05 (UTC)

Yeah. I'm changing up the automation so we can work on the PKGBUILDs manually and something went a little weird with the pkgrel handling. Fix incoming.

scallop commented on 2020-07-28 09:55 (UTC)

minecraft-launcher is newer than aur? huh?

DianaNites commented on 2020-07-28 09:21 (UTC)

minecraft-launcher: local (2.1.16102-2) is newer than AUR (2.1.16102-1)

from yay. ????

jpegxguy commented on 2020-07-24 14:46 (UTC) (edited on 2020-07-27 12:31 (UTC) by jpegxguy)

This package doesn't need the obsolete gconf

EDIT: Thanks for this.

cobaltspace commented on 2020-07-24 14:43 (UTC) (edited on 2020-07-25 20:27 (UTC) by cobaltspace)

I was able to force java8 by setting the JAVA_HOME variable. I suggest having this script for /usr/bin/minecraft-launcher and having minecraft-launcher.desktop have Exec=minecraft-launcher

#!/bin/sh
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk/jre/"
exec /opt/minecraft-launcher/minecraft-launcher "$@"

This would require java-runtime=8 or specifically jre8-openjdk

scallop commented on 2020-07-01 03:23 (UTC)

does this actually need gconf? if it does, that's okay, but a comment on that package says that chromium and electron havent depended on it for years, and its a bit annoying having to need it because it is also an aur pakage

yurikoles commented on 2020-06-30 19:00 (UTC)

@kashall

Package is out of date, Mojang has released a new version on their website but this package uses the static version of the old launcher. We actually use an unversioned link to the latest available deb package. I did a clean build and I didn't saw any checksum errors and version of the launcher is the same.

gtsiam commented on 2020-06-20 20:02 (UTC)

I don't really get the dependency list:

  • gconf? (From a comment in the gconf package: "Chromium (and subsequently Electron) haven’t been dependent on this for years" - that, plus it's apparently obsolete)
  • libxss? (X11 Screen Saver extension library)

Frankly I don't really know, just find it weird

solonovamax commented on 2020-05-31 18:36 (UTC)

Both the minecraft and minecraft-launcher packages are broken for me. When running them there are no errors in the console, then the window just doesn't open and the process is at 100% on one of my cpu cores.

The launcher_log.txt doesn't give any information either.

yurikoles commented on 2020-05-27 19:53 (UTC)

@milk package is just updated

KatStuffs commented on 2020-05-27 12:58 (UTC)

Getting a sha256sum error with 2.1.14930-1 as well

petr commented on 2020-05-26 18:55 (UTC)

I'm slowly working on getting the updating of both minecraft-launcher and minecraft-launcher-beta automated, and hooked up to our CI/CD setup.

So, Soon:TM:, that part of maintenance shouldn't need manual action.

settyness commented on 2020-05-20 07:20 (UTC)

I just want to point out again that this package was flagged out of date well before a new launcher version was actually released. The launcher will probably still report a new version when a new beta is available.

epicbruhh commented on 2020-05-18 11:25 (UTC)

Updated, Minecraft Launcher just released a new version with few bug fixes:

Put these in your PKGBUILD to get new version until @petr decide to update it.

pkgver=2.1.14403

Sha256Sum:

2f888fb423133c48c987408581ff0bddfb8eb79115c9796ccc1c28167146cc20

epicbruhh commented on 2020-05-18 05:32 (UTC) (edited on 2020-05-18 06:09 (UTC) by epicbruhh)

Those who are bothered by the new version notification, here is actual "recent" version (from tar.gz file download from Minecraft website: https://www.minecraft.net/en-us/download/ & running launcher using ./minecraft-launcher file after extracting.)

pkgver=2.1.13829

in sha256 sum, replace the first hash with this: e525c31bd6bacb7483929a674a5c8515a8ebb1b3f67ffd018f6f12a84f4e7051

Edit: Release Notes https://imgur.com/t99QJAy

@petr you might want to update this. This package has been flagged out of date for long time now.

niva commented on 2020-05-14 23:06 (UTC)

Hm, it is out of date for a while and it is one of the most popular packages in the AUR. Is there anything we can do petr? Could you update it soon?

dwzg commented on 2020-05-04 14:56 (UTC) (edited on 2020-05-04 16:39 (UTC) by dwzg)

@alx365 @prismavoid08 I fixed this problem by setting "Raw Input" in Options -> Controls -> Mouse Settings to OFF (in the Minecraft settings). Maybe this will help you!

alx365 commented on 2020-05-01 18:44 (UTC)

@sim590 i have the same issue of the player just turning around randomly on manjaro

Cervox commented on 2020-04-19 22:06 (UTC)

Can we really be blamed though for this?

kokolem commented on 2020-04-18 12:25 (UTC)

Also can't pass the sha256sums validity check.

phunni commented on 2020-04-17 13:51 (UTC)

Also getting sha256sum validation failure.

settyness commented on 2020-04-17 10:43 (UTC) (edited on 2020-04-17 11:04 (UTC) by settyness)

...here we go again. For whatever reason, the release of certain launchers, listed as beta on the official wiki, continue to trigger "new version available" prompts. This seems to make minecraft-launcher-beta redundant.

Either way, this is what's causing users to perpetually flag this package out of date.

drsh4dow commented on 2020-04-17 04:10 (UTC)

hi, files are not passing sha256sum validation

==> Validating source files with sha256sums...
    Minecraft.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: minecraft

yurikoles commented on 2020-04-04 16:52 (UTC) (edited on 2020-05-27 19:38 (UTC) by yurikoles)

PRs are welcome here: https://github.com/yurikoles-aur/minecraft

Unfortunately the deb file is being updated in place and I can't find a link to versioned deb file, so bad checksum means that package was updated. In case you want to solve checksum error yourself just run updpkgsums from community/pacman-contrib.

CerberPup commented on 2020-04-01 15:52 (UTC)

For anyone having issues with skins tab. just link required libraries to directory where launcher is looking for

sudo mkdir -p /opt/minecraft-launcher/swiftshader
sudo ln -s /lib64/libEGL.so /opt/minecraft-launcher/swiftshader/libEGL.so
sudo ln -s /lib64/libGLESv2.so /opt/minecraft-launcher/swiftshader/libGLESv2.so

sim590 commented on 2020-03-31 23:45 (UTC)

SKins are not working. The app says that the system doesn't support WebGL.

prismavoid08 commented on 2020-03-29 19:18 (UTC)

I downloaded this launcher for Arch, but I am having the problem that every few seconds the player will turn instantly and be facing in a random direction, basically making the game unplayable. I had the same problem recently in Manjaro and I'm not sure how to fix it.

gustafla commented on 2020-03-29 15:09 (UTC)

It seems the launcher requires gconf, which is obsolete and not available in the main Arch repo, to run at all. I tried to remove the dependency from the PKGBUILD but it wouldn't run before installing gconf from AUR.

Bramken commented on 2020-03-28 11:45 (UTC)

For anyone who want to use this launcher, it work great up to the 1.14.3. But if you try to play in 1.14.4 or higher than that it wont work.

Bramken commented on 2020-03-28 11:02 (UTC) (edited on 2020-03-28 11:08 (UTC) by Bramken)

When i try to execute the launcher in terminal this is what i get :

minecraft-launcher 
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
[1]    11433 abort (core dumped)  minecraft-launcher
Do you have any idea of where the error is coming from please ? To install the package i did like in the wiki.

Ordoviz commented on 2020-03-24 06:00 (UTC)

@milaskiller Try installing it using the official method. Open a terminal and type:

git clone https://aur.archlinux.org/minecraft-launcher.git
cd minecraft-launcher
makepkg -si

If any errors occur during this process, we are more likely to help you.

milaskiller commented on 2020-03-23 08:56 (UTC)

hi could anyone help me. i keep having this problem where it cant find the tatget. then it refrenses where the tar.gz file is. https://imgur.com/02TsSBs.png

chenjunyu19 commented on 2020-03-20 06:24 (UTC)

@petr Maybe you need to change the code looking up the libraries?

chenjunyu19@chenjunyu19-Linux ~> pacman -Q libglvnd 
libglvnd 1.3.1-1
chenjunyu19@chenjunyu19-Linux ~> minecraft-launcher
[0320/141519.497430:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: 无法打开共享对象文件: 没有那个文件或目录
[0320/141519.500106:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0320/141519.893732:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: 无法打开共享对象文件: 没有那个文件或目录
[0320/141519.895469:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0320/141520.309888:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: 无法打开共享对象文件: 没有那个文件或目录
[0320/141520.311888:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0320/141520.711561:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: 无法打开共享对象文件: 没有那个文件或目录
[0320/141520.713662:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization

petr commented on 2020-03-16 13:59 (UTC)

Updated to current release.

RE skins not working: It works for me without any of the symlinking/copying. Are you sure that's necessary? Or is just adding libglvnd as a dependency enough?

niva commented on 2020-03-16 10:47 (UTC)

Hm, it is a popular packet and out of date for quite some time. :(

gardenappl commented on 2020-03-12 11:07 (UTC)

It would be very cool if you implemented the changes suggested by @chenjunyu19 into the PKGBUILD.

cobol72 commented on 2020-03-08 16:31 (UTC)

The latest version is now 2.1.2464. Change your PKGBUILD variables as follows: pkgver=2.1.12464 Change the first sha256sum to: 63bc6f0b8f8a387f7f49da8f75466502ef226777221e877e9c842b1a76702fcd

cobol72 commented on 2020-03-08 16:28 (UTC) (edited on 2020-03-08 16:29 (UTC) by cobol72)

Accidentally deleted my previous comment. Basically said that that's all we need to do here as well, just the author isn't around to bump the version at the moment. I've emailed him and we'll see if he's able to update it.

Nexxuz commented on 2020-03-06 17:20 (UTC) (edited on 2020-03-06 17:21 (UTC) by Nexxuz)

Is there a reason we are not just modifying the version, like the GitKraken package https://aur.archlinux.org/packages/gitkraken/ , in the PKGBUILD?

cobol72 commented on 2020-02-24 20:55 (UTC)

A new version was just pushed. Until the AUR is updated, you can set the pkgver to 2.1.12308.

jpegxguy commented on 2020-02-18 13:00 (UTC)

@Feakster This minecraft launcher isn't a jar file like the old one was, it's an Electron linux x86_64 executable. True enough that the jar file was more portable between architectures

Feakster commented on 2020-02-18 11:47 (UTC)

The older version of this launcher at https://aur.archlinux.org/packages/minecraft/ had arch=(any) set in the PKGBUILD file. Is there a reason this build needs arch=('x86_64') set? I thought part of the point of java was that it could be cross-platform and cross-architecture.

Feakster commented on 2020-02-16 12:51 (UTC)

I just tried running this on Manjaro ARM using openjdk-13, but the following error was generated:

[12:50:42 INFO]: Getting syncinfo for selected version
[12:50:42 INFO]: Queueing library & version downloads
[12:50:42 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) [?:?]

chenjunyu19 commented on 2020-01-27 06:48 (UTC)

From Google Translate:

For me, as of version 2.1.11314-1, skin management is still not working. By looking at the terminal output, you can see that the launcher is missing some library files.

To solve this problem, first make sure that you have the libglvnd package installed, and then you can use the following command to link the libraries in your system into theminecraft-launcher folder.

Alternatively, if you have other CEF / Electron applications (such as visual-studio-code-bin), you can simply copy the swiftshader folder from these applications into the minecraft-launcher folder.


中文原文:

对于我来说,截至版本 2.1.11314-1,皮肤管理仍不能正常工作。通过观察终端输出,你可以发现启动器缺少了一些库文件。

要解决这个问题,首先确保你已经安装了 libglvnd 软件包,然后可以使用下面的命令将系统中的库链接到 minecraft-launcher 文件夹中。

或者,如果你有其他 CEF / Electron 应用程序(例如 visual-studio-code-bin),你可以简单地将这些应用程序中的 swiftshader 文件夹复制到 minecraft-launcher 文件夹中。


# mkdir /opt/minecraft-launcher/swiftshader
# ln -s /usr/lib/libEGL.so /opt/minecraft-launcher/swiftshader/
# ln -s /usr/lib/libGLESv2.so /opt/minecraft-launcher/swiftshader/

sprinter89 commented on 2019-11-30 23:19 (UTC) (edited on 2019-11-30 23:21 (UTC) by sprinter89)

Actually, in the dependency solving state, openjdk8 must be installed to properly execute minecraft. So, I timidly suggest forcing java version to 8.

petr commented on 2019-11-30 11:45 (UTC)

Yes, gconf is required. Something inside CEF needs it. And it's not trivial to get rid of it.

audrius commented on 2019-11-20 22:30 (UTC)

Is gconf dependency really required? Currently this is single package which pulls gconf (with python2) in my system.

gkun commented on 2019-10-27 16:28 (UTC)

I recently wasn't able to launch minecraft after a Java upgrade (java would fill up the memory and not start the game when I clicked on "play" from the launcher).

I'm using jre8-openjdk (java 8) which was running fine until version 8.u212-1, 8.u232-1 wouldn't start the game. Did anyone else have the same issue?

aurifier commented on 2019-10-25 03:37 (UTC)

I just upgraded from a really old version of the launcher, but I'm getting this now when I start the launcher:

** GLib:ERROR:../glib/glib/goption.c:1837:platform_get_argv0: assertion failed: (memchr (cmdline, 0, len)) Bail out! GLib:ERROR:../glib/glib/goption.c:1837:platform_get_argv0: assertion failed: (memchr (cmdline, 0, len)) Aborted (core dumped)

Any ideas what's wrong with my system?

daenney commented on 2019-10-15 16:17 (UTC) (edited on 2019-10-15 16:19 (UTC) by daenney)

You can work around the issue for now with env GDK_BACKEND=x11 minecraft-launcher instead. The issue is tracked here: https://bugs.mojang.com/browse/MCL-12215.

It would probably be handy if the minecraft-launcher.desktop was updated to include this workaround for now.

Alternatively:

mkdir -p ~/.local/share/applications/
cp /usr/share/applications/minecraft-launcher.desktop ~/.local/share/applications/
sed -i 's/Exec=/Exec=env GDK_BACKEND=x11 /g' ~/.local/share/applications/minecraft-launcher.desktop

Now you can start Minecraft Launcher as usual and keep updating this package as your definition of minecraft-launcher.desktop will override the one shipped with the package.

stick commented on 2019-10-12 23:42 (UTC)

@ruabmbua @dlins @nunomartins here's the error on Wayland (sway for me) with 2.1.7658:

$ minecraft-launcher

(minecraft-launcher:63405): Gdk-WARNING **: 19:39:30.017: ../gtk/gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window

TangledShoelace commented on 2019-10-11 11:43 (UTC)

@ruabmbua I can confirm as well. Seems broken on GNOME Wayland; running it on X works fine, though. I further tested the beta version with the same results.

dlins commented on 2019-10-09 17:51 (UTC)

@ruabmbua Yes I have the same problem. A downgrade to an previous version works for me.

ruabmbua commented on 2019-10-09 15:59 (UTC)

Does not launch any more. Does anyone else have the same problem. I get no errors, the "gnome launcher" shows the icon, but the window does not appear.

Ketchup901 commented on 2019-09-19 15:42 (UTC)

Did this finally stop working? It can't download new versions of Minecraft, gets stuck on "Preparing..."

jpegxguy commented on 2019-09-06 19:39 (UTC)

Indeed it shouldn't be out of date. Also the linux launcher should have auto update check disabled because the (undisclosed beta) version pops up every time you open the launcher.

settyness commented on 2019-09-06 18:33 (UTC) (edited on 2019-09-06 18:40 (UTC) by settyness)

I'm still not seeing why this is even flagged out of date. Latest stable version is 2.1.5965, while beta is 2.1.5969. A user got a message in their launcher and blindly flagged this without verifying (Settings -> About) that this is indeed the latest launcher, released July 23rd: https://minecraft.gamepedia.com/Launcher_2.1.596x . Use beta if you need an update.

markboston35 commented on 2019-09-04 19:23 (UTC)

this needs to be updated.

haffmans commented on 2019-08-31 12:02 (UTC)

@ywecur @Hoid For me the problem was that (in KDE Plasma) I'd selected a language/region combination that's not an installed locale on my system (specifically: en_NL.UTF-8 - english language system with region set to the Netherlands). I think the breakage was introduced with other recent updates. A work-around is to apply another locale when launching Minecraft:

LC_ALL=C minecraft-launcher

You can use any enabled locale instead of C. For those who, like me, picked en_NL in the desktop settings, I've added an AUR package locale-en-nl-git which can help too.

toluschr commented on 2019-08-23 11:44 (UTC) (edited on 2019-08-23 12:35 (UTC) by toluschr)

You need to change the permissions for /opt/minecraft-launcher/ in the pkgbuild. The new launcher version requires write permissions for the binaries directory in order to launch.

settyness commented on 2019-08-23 11:08 (UTC)

Is there a reason this is flagged as out of date? I'm not seeing one.

Hoid commented on 2019-08-20 09:42 (UTC)

I'm getting the same error @ywecur, it might be an issue with the new update to the launcher as it started happening right after I updated it

ywecur commented on 2019-08-12 00:06 (UTC)

I'm getting this error when trying to launch:

terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)

jpegxguy commented on 2019-08-11 18:48 (UTC)

@mattsturgeon if the problem is that users will choose the wrong version when asked (even on arch, sure), make the change in minecraft-launcher-beta only

jpegxguy commented on 2019-08-11 18:46 (UTC)

@mattsturgeon Okay so the reason is that we're worried users who want mods won't know to choose jre8 when pacman will ASKS them about the version they want to install when they downlaod this package? And Arch users, at that? I doubt it.

My point is that with the change to >= from = the package manager would ask you what version upwards of 8 you want. You choose 8. Done. Why do we force this version? LegacyLauncher is not needed for vanilla and is indeed "hacky code to launch old mc versions". Now, mods do use it. So choose jre8 upon install. Where's the negative?

cjmick commented on 2019-08-04 05:24 (UTC)

@rezystor, nope not working for me :( bummer

rezystor commented on 2019-08-03 19:08 (UTC)

If your game crashes, try installing java8-openjfx, for me it fixed problem with lwjgl.so

mattsturgeon commented on 2019-08-02 18:20 (UTC)

I don't understand why it can't be "greater than OR equal"

Legacy launcher requires java "less than or equal to 8" (and also greater than or equal to the minimum compatible version, iirc 5?).

Since version 1.12 Minecraft require 8 as a minimum.

So since 8 is a minimum for Minecraft and a maximum for legacy launcher, it is the only fully compatible version of java right now. Newer versions break legacy launcher, older versions don't support Minecraft.

Even when modlauncher (legacy launcher's replacement in forge 1.13) becomes more commonplace, they'll still be a big proportion of mods using legacy launcher, and mods for older mc versions will likely always use legacy launcher (and always require java=8)

DarkWav commented on 2019-06-26 15:33 (UTC)

Version 2.1.5410-1 is working alright, thanks a lot.

DarkWav commented on 2019-06-25 12:57 (UTC) (edited on 2019-06-25 13:17 (UTC) by DarkWav)

The version 2.1.5236-1 for me just crashes with a memory access error. I got no Idea why, but it just won't run at all for me. Fresh install on a VM, no luck, same error.

jpegxguy commented on 2019-06-17 04:14 (UTC)

So the only reason for not making it java-runtime>=8 is because users might not actually have jre 8 installed and wonder why mods dont work? I don't like to have an extra version of java just because LegacyLauncher is old and unsupported. I don't understand why it can't be "greater than OR equal". Currently, it is only "equal".

Besides, arch will prompt for a choice of the java version to install, when installing minecraft-launcher for the first time, while having no Java installed.

z3ntu commented on 2019-03-18 16:09 (UTC)

This package should depend on gtk2 - as without gtk2 installed, the launcher won't start. See https://bugs.archlinux.org/task/59904 for basically the same issue for another package.

wolfjb commented on 2019-02-27 00:19 (UTC) (edited on 2019-02-27 00:20 (UTC) by wolfjb)

If it helps:

diff --git a/PKGBUILD b/PKGBUILD
index 97aa16a..5a80df1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Petr Mrázek <petr@mojang.com>
 pkgname=minecraft-launcher
-pkgver=2.1.2472
+pkgver=2.1.2482
 pkgrel=1
 pkgdesc="Official Minecraft Launcher"
 arch=('x86_64')
@@ -16,7 +16,7 @@ minecraft-launcher.desktop
 minecraft-launcher.svg
 )
 sha256sums=(
-'ceab99e810b6e0bdf784d8600e5e01b6730af6103df7a23a406501c2b3bb5741'
+'1a50aa83ab45ad69795e2ea5209cfd8092b5be4592731c4442c5e642279d0f00'
 '677e2442a1ae83cc58d8d403666e508129e97dbed37fdfafdceac6101dc0dee7'
 '35c2bcaeb09fa4b8864e9422fd66bf60847706f8b4400ec4a66ba6436b101f71'
 )

petr commented on 2019-02-19 09:53 (UTC)

The future plan for this is to turn the main package into a downloader/updater and bring it in line with the other platforms. Please switch to using minecraft-launcher.

ajigsawnhalo commented on 2019-02-19 08:15 (UTC)

I tried manually building the package by changing the pkgver in the PKGBUILD file and it installed but it would only open when run as root.

iriyto commented on 2019-02-19 06:13 (UTC)

ERROR: One or more files did not pass validity checks

mattsturgeon commented on 2019-02-06 20:19 (UTC) (edited on 2019-02-06 20:21 (UTC) by mattsturgeon)

@jpegxguy that's answered in the pinned message. JRE 1.8 (java-runtime=8) is required for anything using legacy launcher (aka launch wrapper), which is almost all mods and also legacy versions of the game.

Newer JRE versions break stuff that legacy launcher depends on (ABIs).

He did note that there is nothing to stop you having JRE 1.8 in addition to other java versions since they do not conflict.

jpegxguy commented on 2019-02-06 19:19 (UTC)

@petr Why not java-runtime>=8 ?

Thaodan commented on 2019-01-19 17:11 (UTC)

Any reason installing it into opt? Also the launcher doesn't scales on highdpi.

petr commented on 2018-12-20 09:56 (UTC) (edited on 2018-12-20 09:57 (UTC) by petr)

The java version is ... problematic. The current version of the base game will work with any Java version. So will some of the very old game versions that do not use launchwrapper.

Java 8 is required for all legacy versions, and all modded versions of the game (except for some experimental builds of Forge for 1.13). It makes sense to require it, because easily, 99% of the various ways to play the game DO require it. Roughly half of the players play modded regularly.

Fixing the old and modded versions is a non-trivial (almost intractable) task. Fixing Java would require forking it and maintaining the fork. Java runtimes of different versions are installable side-by-side. The launcher needing 'a java 8 runtime' should not prevent you from installing and using a different one.

If you have any suggestions about how to improve this situation, I'm all ears. However, using Java 9+ by default would introduce major issues.

lexikiq commented on 2018-12-17 22:09 (UTC)

@TheAifam5 "Some form of Java runtime 8 is a dependency and will remain so until the issues caused by ABI breaks in later versions are resolved in one way or another."

theaifam5 commented on 2018-12-17 22:02 (UTC)

@petr Please, don't force to use specific version of Java. I'm actually thinking to create a fork of this package, to support newer Java version.

petr commented on 2018-12-07 12:16 (UTC)

Done :)

thisischrys commented on 2018-12-06 14:25 (UTC)

Please add flite as an optional dependency (for the narrator)

Beebo commented on 2018-11-14 00:42 (UTC)

Really wish Mojang would update their darn launcher to support the new JRE.

As for this package, the default behavior for most AUR helpers is to install the newest JRE greater-or-equal than jre8. While these higher JRE packages allow the launcher to work, they do not let you get in game.

So in other words, the game itself still requires a JRE no higher than 8 to work properly past the launcher. Just something to keep in mind.

petr commented on 2018-11-07 12:03 (UTC)

gconf is a dependency, CEF directly depends on gconf symbols. This is not changing any time soon.

Some form of Java runtime 8 is a dependency and will remain so until the issues caused by ABI breaks in later versions are resolved in one way or another.

This package is fully up-to-date.

jadenPete commented on 2018-09-10 21:57 (UTC)

Can't we eliminate gconf and other dependencies?

Bernie_McGee commented on 2018-08-06 18:26 (UTC) (edited on 2018-08-06 18:26 (UTC) by Bernie_McGee)

@rafasc It looks like for 1.13 you can still use the old launcher. I've been using it, blissfully unaware that they were planning on dropping support. This allows more time for a decision, I guess.

@BombStrike What about contacting petr about making minecraft-launcher the "meta package"? Then users using that package would be set, with it pulling in this package as a dependency. And this package could continue as the "official" package, as I feel of the two, "minecraft" is a better choice of package name.

mattsturgeon commented on 2018-07-27 09:14 (UTC)

Interesting, I always assumed MC was only java 8 compatible, but LegacyLauncher could well be the problem. Worth noting that forge plan on transitioning to a new modlauncher system with 1.13 (and anyone who wants to be forge-compatible will likely have to follow suit) so that may limit the issue to legacy versions and pre-1.13 mods.

jpegxguy commented on 2018-07-26 22:04 (UTC)

@erkexzcx I'm pretty sure both the game and the launcher work fine under jre (version 10), as is my setup. A problem arises in the LegacyLauncher when trying to start stuff like OptiFine though.

rafasc commented on 2018-07-26 21:38 (UTC) (edited on 2018-07-26 21:39 (UTC) by rafasc)

@BombStrike I asked around on #archlinux-aur, and also based on what was said in this in this request https://lists.archlinux.org/pipermail/aur-requests/2018-June/024898.html, seems that this package should be updated to the new launcher and the minecraft-launcher should merged as a duplicate.

AFAIK, the old launcher will not be able to launch new versions of the game starting with 1.13, and since the new one is able to launch older versions, there's no reason for the old launcher to exist as a package. (Besides the fact it simply being available on that url which will probably go down in the future).

ask6155 commented on 2018-07-25 09:26 (UTC)

@jpegxguy It is recommended to run Minecraft with Java 8.

BombStrike commented on 2018-07-21 14:19 (UTC)

So now that the other launcher has become the official one, here is how I could do things:

  • Empty this thing and only have a dependency to minecraft-launcher: making it pretty much a meta-package of sort, would (probably?) be the safest option
  • Copy the existing package: not a big fan of duplicating stuff
  • Submit a request to have minecraft-launcher renamed to minecraft, and this one to minecraft-legacy: will break people who had minecraft-launcher installed

Let me know what you guys think in the comments, I'll also be doing some research on my side to make sure the updates goes smoothly for you guys.

rafasc commented on 2018-07-19 21:26 (UTC)

@BombStrike Minecraft website updated the launcher url.

erkexzcx commented on 2018-07-15 22:44 (UTC)

Updated https://wiki.archlinux.org/index.php/Minecraft - Minecraft client (game) works fine even with java version 10, but the actual launcher starts only with java version 8.

erkexzcx commented on 2018-07-15 22:29 (UTC)

Updated https://wiki.archlinux.org/index.php/Minecraft - Minecraft client (game) works fine even with java version 10, but the actual launcher starts only with java version 8.

jpegxguy commented on 2018-07-06 17:24 (UTC)

Why is java-runtime=8 required? why not >=8 ?

petr commented on 2018-07-06 16:15 (UTC)

The fix should be in. As long as you don't have something extra in the network doing caching, it should work.

petr commented on 2018-07-03 18:47 (UTC)

If you are rebuilding in the same directory, delete the file, it should redownload and have the correct checksum.

I'll put in some sort of fix as soon as I get back to a real machine with my SSH keys.

Tank116 commented on 2018-07-03 15:29 (UTC)

Also reporting in: Minecraft.tar.gz fails sha256 checksum in 2.1.1218-1 update

petr commented on 2018-06-30 19:35 (UTC)

As for the reusing of filenames, I put that on the TODO pile :)

mattsturgeon commented on 2018-06-30 19:28 (UTC)

I haven't attempted to reproduce yet, however it could be a caching issue (either on your end or smorky's).

petr commented on 2018-06-30 19:26 (UTC)

Hmm... it works for me? On multiple machines?

You'll have to provide more details about what's going wrong, because I just don't see it.

mattsturgeon commented on 2018-06-30 17:12 (UTC)

smorky: That's because when mojang update the snapshot, the link doesn't change. That means that the checksum is different so will fail integrity checks.

Ideally, mojang would provide versioned or datestamped links for the snapshots, but AFAIK they don't. Them updating the release build would also work, but iirc the latest release build doesn't even work anymore.

smorky commented on 2018-06-30 16:07 (UTC)

Minecraft.tar.gz fails sha256 checksum in 2.1.1218-1 update.

mkolassa commented on 2018-06-13 15:44 (UTC)

@BombStrike My apologies. Your response to my request (and recent comment) helped me to understand why things are the way that they are between the two packages.

Brottweiler commented on 2018-06-12 14:45 (UTC)

@BombStrike: I see, my bad!

BombStrike commented on 2018-06-12 03:26 (UTC)

@Brottweiler The tweet mentioned do not talk about the download link, but about the version file and my package already points to the link requested by Dinnerbone: https://aur.archlinux.org/cgit/aur.git/tree/minecraft?h=minecraft#n11

Brottweiler commented on 2018-05-24 19:18 (UTC)

I flagged the package out of date now because the source URL is still not updated to the new one, which means this package could break randomly at any time when the legacy URL is removed.

commented on 2018-05-24 17:51 (UTC)

I don't see any reason why you should place the new launcher here at all. As there already is a package with the new launcher maintained by Mojang, it would result in having two packages for the same thing, which is just useless.

Wascar commented on 2018-05-18 15:44 (UTC)

Missing dependency issue : Permanently resolved

hugoarpin commented on 2018-05-17 14:50 (UTC)

Missing dependency gconf I think.

./launcher: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Wascar commented on 2018-05-15 20:17 (UTC)

@bda Done

bda commented on 2018-05-15 08:59 (UTC)

hi, libxss is needed as dependancy: ./launcher: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

mattsturgeon commented on 2018-05-04 16:36 (UTC) (edited on 2018-05-04 16:37 (UTC) by mattsturgeon)

I suspect the underlying problem is that Mojang update their "staging" tar, but do not create versioned release archives. Therefore this package is stuck on the latest (broken) release 2.0.579, while Minecraft_staging.tar.gz stays updated and keeps working.

IMO Mojang need to improve the way they handle this, preferably by creating more releases and keeping this package in sync with them. Otherwise we are forced to use packages such as minecraft-launcher-tar that try to keep in sync with the (fully functional) staging build.

koyuawsmbrtn commented on 2018-05-04 16:06 (UTC)

@SuperGeniusZeb I added gconf to the dependencies and updated Minecraft to the latest version. Thank you :)

SteelTitanium commented on 2018-05-04 15:37 (UTC)

It's impossible to run this because it depends on a old version of icu.

lexikiq commented on 2018-04-15 23:38 (UTC)

It's been over a year since the initial linux beta release, and almost half a year since the last update. Any news on an official release?

Brottweiler commented on 2018-04-06 11:06 (UTC)

The source URL needs to be changed, more info here: https://twitter.com/Dinnerbone/status/981978843178323968

Brottweiler commented on 2018-03-26 18:24 (UTC)

You can pin your comment and hopefully then it will stand out so no more out of date flags.

BombStrike commented on 2018-03-26 03:57 (UTC)

Ok this is still getting flagged as out of date so I'll explain it again:

This package is the official stable package you get when you go through the Minecraft website, which still points to "http://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar"

If you want the new launcher check the https://aur.archlinux.org/packages/minecraft-launcher package that is maintained by Mojang themselves.

And if you want this package to be the new launcher, just ask Mojang why 2.x is not deemed stable yet and if it is if they could update their links on the official website.

I trust that in time I will be able to update this package to the latest launcher but right now it will stay on this version.

Thank you for your understanding.

Zebulan commented on 2018-02-24 20:16 (UTC)

I tried to run this on a fresh Antergos installation and I got this error:

"./launcher: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory"

This file, which should be located at "/usr/lib/libgconf-2.so.4", is provided by the gconf package, which is not listed as a dependency of this package.

https://www.archlinux.org/packages/extra/x86_64/gconf/

Simply add the gconf package as a dependency and that should fix the problem.

koyuawsmbrtn commented on 2018-02-24 09:10 (UTC)

@Leafeon thank you, I added it :)

Leafeon commented on 2018-02-24 07:08 (UTC)

Please dont force installation of java 8, Minecraft runs very well with java 9 by removing "-XX:+CMSIncrementalMode" from profile startup arguments.

Set it to java-runtime>=8 and leave a comment telling java 9 users about the startup argument.

https://aur.archlinux.org/packages/minecraft/?comments=all

spotlightishere commented on 2018-01-26 22:44 (UTC)

If you're like me and got confused about the linked issue page: it seems the permalink has stopped working. Go to the "All" comments section and read by LightWayUp; basically saying to remove "-XX:+CMSIncrementalMode" from your profile's JVM arguments, also mentioned below.

commented on 2017-12-02 19:04 (UTC)

Thanks and please leave it this way. I for example have placed some separate VMs inside my .minecraft directory to run different versions of Minecraft and also would not want it to change my system wide configuration, as the launcher itself works with almost every version of Java.

BombStrike commented on 2017-12-01 07:51 (UTC)

@Tids If I don't force the install of java 8 I get weekly mails asking me to force the install because people expect this package to set it up for them. What I can do though is set it to java-runtime>=8 and leave a comment telling java 9 users to check the issue you linked.

fabiscafe commented on 2017-11-30 11:25 (UTC)

Please dont force installation of java 8, Set it as "optional dependency" with a nice comment. Minecraft runs very well with java 9 (look at the comment from max.bra) Also: https://bugs.mojang.com/browse/MCL-4341?focusedCommentId=411434&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-411434

max.bra commented on 2017-11-30 10:12 (UTC)

hi all, minecraft is java 9 compatible by removing "-XX:+CMSIncrementalMode" from profile startup arguments. java-runtime=8 is not needed.

BombStrike commented on 2017-11-30 08:57 (UTC)

Scratch my last comment, I can actually use java-runtime=8. If you have both the Oracle and OpenJDK 8 versions installed, the binary will use OpenJDK by default.

BombStrike commented on 2017-11-30 08:50 (UTC)

Sorry about the delay, I updated java-runtime to jre8-openjdk and made the binary use it by default (initially wanted to leave support for the JRE9 but seems to crash the game). I wish there was a more elegant solution that would be compatible with people using the oracle jre8 but I have no way to say something like "java-runtime == 8" so that will have to do for now.

koyuawsmbrtn commented on 2017-11-18 22:35 (UTC)

@brandon-schumann oh, yes. thank you. never noticed, that this is used by the feature. i'll do it in the next release of this package (would be propably on monday). it's making the package more accessible of course :)

verkvieto commented on 2017-11-18 20:49 (UTC)

Could flite be added as an optional dependency for the chat narrator feature?

l33tlinuxh4x0r commented on 2017-10-25 20:18 (UTC)

I have updated the PKGBUILD to version 2.0.1005 you can get it here -> https://pastebin.com/cnn3JPrp

anoa commented on 2017-10-18 05:48 (UTC)

For anyone getting the "JAVA Unsupported major.minor version 52.0" error, that is because minecraft switched to Java 8 in the 1.12 update. To fix, do the following: sudo pacman -S jre8-openjdk jre8-openjdk-headless sudo archlinux-java set java-8-openjdk/jre Then you should be good. Package should probably depend on the above packages as well to ensure it works on the latest version, while keeping the previous version as option for older versions.

HanFox commented on 2017-09-22 10:59 (UTC)

PKGBUILD for v2.0.973 for those who want to test it (or just want the useless nags that just point at Dinnerbone's Twitter to go away): https://pastebin.com/raw/JV30Mmej

sylveon commented on 2017-08-13 22:01 (UTC) (edited on 2017-08-13 22:02 (UTC) by sylveon)

I added "StartupWMClass=sun-awt-X11-XFramePeer" to the .desktop file and all the minecraft windows (launcher, bootstrap, game) shows under the same icon in the gnome dock now. Haven't encountered any conflicts (although that's probably because I am not using any other Java application)

BombStrike commented on 2017-07-25 06:17 (UTC)

@cleviojr this is the launcher linked on the minecraft homepage, as soon as the staging launcher becomes the official one then this package will be updated to point to it

xwindyboy commented on 2017-07-25 02:44 (UTC)

this seems to be an outdated launcher, for the new one install minecraft-launcher package instead. link: https://aur.archlinux.org/packages/minecraft-launcher/

Morn commented on 2017-07-16 15:21 (UTC)

"flite" should be added as an optional dependency; it is needed for the new chat narrator feature in 1.12.

alexjj commented on 2017-06-21 21:38 (UTC)

Minecraft requires OpenJDK 8 to run now...or I should say it didn't work with 7 for me and installing 8 fixed it.

cquick7 commented on 2017-04-13 07:27 (UTC) (edited on 2017-04-13 07:28 (UTC) by cquick7)

Basically, what I have done is download the Linux version from minecraft.net, and I use the Jar file to launch the game when I want to play. That way works just fine for me. The file is named minecraft.jar.

commented on 2017-04-04 22:40 (UTC)

You say "This is maintained by employees of Mojang." I would say, it is unmaintained. Linux is neglected as always. Will continue using the old launcher for now.

shoghicp commented on 2017-03-08 09:37 (UTC)

This is maintained by employees of Mojang. We have no "current" release for any Linux distribution, due to some issues that we are working on fixing. As soon as we have any release, we will update this package. Note that any old versions (like this one, or current "new" one some people are suggesting to use) might stop working in the future, until we fix these issues.

commented on 2017-02-25 21:41 (UTC)

If you don't have time to keep this updated could you please hand it over to someone that does?

wizd3m commented on 2017-02-21 07:39 (UTC)

The new url for the launcher is https://launcher.mojang.com/mc-staging/download/Minecraft_staging.tar.gz

Atasuke commented on 2017-02-12 12:49 (UTC)

Please update sources Thanks :)

BjarnoBe commented on 2017-02-07 12:16 (UTC)

./launcher error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory Installing gconf solved this problem and resulted, for me, in a working launcher.o Maybe add gconf to the dependencies list.

FraGag commented on 2017-02-05 03:17 (UTC)

You're not actually using that MC_VERSION_URL variable in /usr/bin/minecraft. :)

BombStrike commented on 2017-01-30 02:09 (UTC)

Ok pushed a new version that should fix things, expect a launcher download. Also added a MC_FORCE_UPDATE environment variable that can be set to force a launcher update (but shouldn't be necessary).

BombStrike commented on 2017-01-30 02:01 (UTC)

For some weird reason if we use the launcher directly from the .minecraft folder it will never update. I'm adding a small mechanism to automatically redownload the launcher when the game itself gets updated and will push it soon. In the meantime run "exec java -jar /usr/share/minecraft/Minecraft.jar" manually to force an update

TripleSpeeder commented on 2017-01-29 15:20 (UTC)

Can't start with client version 1.11.2. Gives following error: [16:16:21 ERROR]: An update to your launcher is available and is required to play 1.11.2. Please restart your launcher. Flagged package as out-of-date :-)

Brottweiler commented on 2016-10-27 16:25 (UTC)

@s123 This is only the launcher... when you run it, the launcher will download the version you want to use.

s123 commented on 2016-10-27 16:24 (UTC)

Will the recent version be available? I want to play singleplayer maps, few of them require at least 1.7.7 and one 1.10.4...

altermetax commented on 2016-10-10 15:39 (UTC)

What about making it available with Java 1.8 instead of Java 1.7? It's fully working (I use Java 1.8 to play).

yukixz commented on 2016-09-18 12:16 (UTC)

@BombStrike yep. With XIM env & fcitx, typing CJK in launcher is OK.

BombStrike commented on 2016-09-15 02:20 (UTC)

@yukixz back when I added those env variables the launcher didn't even allow you to type or do anything if iBus or similar was running, when I tried the current one everything seems to be working fine (though indeed it won't take the IM input) so no need to keep those

yukixz commented on 2016-09-13 12:52 (UTC)

@BombStrike Sorry bro. IM support is only available for windows, but minecraft seems work normally with XIM env. https://bugs.mojang.com/browse/MC-2781

BombStrike commented on 2016-09-12 02:31 (UTC)

Updated package * Remove IM override (thanks @yukixz) * Use cached launcher when available (thanks @mad-murdock) * Updated license to latest version

yukixz commented on 2016-09-08 14:37 (UTC)

Minecraft support CJK and IM after v1.9. Please remove `unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE` from `/usr/bin/minecraft`.

mad-murdock commented on 2016-03-13 09:10 (UTC)

To be able to start minecraft offline and/or to save some bandwith with skipping the download of the launcher each start, I would suggest changing /usr/bin/minecraft to ---SNIP #!/bin/sh # fix for users of special IM modules unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE if [ -e ~/.minecraft/launcher.jar ]; then exec java -jar ~/.minecraft/launcher.jar $@ else exec java -jar /usr/share/minecraft/Minecraft.jar $@ fi ---SNIP

whynothugo commented on 2016-03-04 02:26 (UTC)

@veronic What error did you get, or what problem are you encountering? It's not clear at which point you're having issues, so it's hard to say what you should do.

veronic commented on 2016-03-04 01:33 (UTC) (edited on 2016-03-04 01:34 (UTC) by veronic)

hi i'm new to arch (i was on ubuntu for few years),i try to instal minecraft for my son but i'm not able at all....i just download the server but what to do next? when i was on ubuntu it was easy to instal and run minecraft but now it doesnt work,what i need to do? also i speak french and my english isn't perfect so i hope you can understand me ;)

kleshas commented on 2015-12-31 05:39 (UTC) (edited on 2015-12-31 06:36 (UTC) by kleshas)

This package seemed to install fine, but I've now got a 'corrupt' display in Arch itself (after quitting minecraft), even after rebooting, neither uninstalling this package helped. Display ok before logging in, and in a tty1.

danny8376 commented on 2015-12-27 06:54 (UTC)

Should add noextract=('Minecraft.jar') to prevent the jar form extracting.

BombStrike commented on 2015-05-10 02:59 (UTC)

Sorry about the delay with updating the package. I set ttf-font and libxtst as dependencies. I also updated the LICENSE that was included by the current EULA for minecraft.

bernimoses commented on 2015-05-04 20:04 (UTC)

If you change the Icon line in your desktop file to: Icon=minecraft Icon themes can customize the icon. ;)

EchoLynx commented on 2015-04-06 21:02 (UTC)

I second dumbhat's observation. I had to install libxtst separately before minecraft would run on a fresh Arch install.

dumbhat commented on 2014-12-17 23:43 (UTC)

Think you'll need to add libxtst to the list of dependencies - wouldn't install on a fresh system without it.

flying-sheep commented on 2014-11-28 10:08 (UTC)

can you please replace the ttf-dejavu dependency with ttf-font?

sxty commented on 2014-10-15 17:41 (UTC)

Yes I meant minecraft-server. Commented on the wrong package.

whynothugo commented on 2014-10-13 06:27 (UTC)

@sxtynnmach1: You can't send mouse events to services running under systemd, and minecraft-server does not respond to signals as expected. screen gets around this issue (though I would have preferred to use tmux, screen still gets the job done). BTW: I assume you're talking about minecraft-server.

sxty commented on 2014-10-13 06:05 (UTC)

Can you add (and run the service under) a user "minecraft"? It's typically good practice to have these things run under their own specifically privileged user. Also, why the use of screen for the service file? Can't you run the jar directly and log to journald?

whynothugo commented on 2014-10-12 22:33 (UTC)

@Det: Yes, but this package only installs the launcher, which actually downloads the versioned game data.

Det commented on 2014-10-12 19:02 (UTC)

Doesn't the game have an actual version?

nasedo commented on 2014-09-11 07:51 (UTC)

Please change the dependency on ttf-dejavu to ttf-font. It's provided by several font packages including ttf-dejavu and from my limited testing the game works fine with any of them.

Chais commented on 2014-07-07 07:19 (UTC)

Could you please change the Icon line in the .desktop file to Icon=minecraft This way alternative icons are considered automatically.

hexchain commented on 2014-06-30 12:54 (UTC)

Could you please put the _JAVA_OPTIONS line in the minecraft launcher script? _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp -Dswing.aatext=true -Dawt.useSystemAAFontSettings=gasp -Dsun.java2d.xrender=true' exec java -jar /usr/share/minecraft/Minecraft.jar $@

workdowg commented on 2014-06-25 22:47 (UTC)

@Brottweiler - Your solution seems to only work when launched from terminal. Otherwise the text is garbled...

Brottweiler commented on 2014-06-22 12:19 (UTC)

@MLeerkotte, I think that is an issue with the latest OpenJDK. Try put this in your .zshrc/.bashrc: export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp -Dswing.aatext=true -Dawt.useSystemAAFontSettings=gasp -Dsun.java2d.xrender=true' the log out from your system (quit Xorg, logout) then relogin.

MLeerkotte commented on 2014-06-22 09:18 (UTC)

When I launch Minecraft the launcher comes up as expected but i do not see any text (I guess a missing font) Which font does the launcher use?

jleclanche commented on 2014-05-06 22:20 (UTC)

Please change the dependency from xorg-server-utils to xorg-xrandr. The latter is back in the repos.

commented on 2014-04-28 13:34 (UTC)

Please add ttf-dejavu as a dependency. Without this font, the game fails at launch.

commented on 2014-04-28 13:33 (UTC)

Please add ttf-dejavu as a dependency. Otherwise, the game fail at launch.

B4SH-B00STER commented on 2014-04-18 18:17 (UTC)

@sterlo I didnt flag it

sterlo commented on 2014-04-13 18:11 (UTC)

@Toost_Inc -- I think it's labeled as out of date due to the inclusing of a cruft library, OpenAL, as per Booster-SDK.

MagicAndWires commented on 2014-04-11 18:41 (UTC)

How can this package be out of date when it uses the same launcher as linked to on the official site?

B4SH-B00STER commented on 2014-03-17 18:27 (UTC)

OpenAL is not needed

BombStrike commented on 2014-02-17 00:55 (UTC)

There you go, updated description taken from wikipedia

whynothugo commented on 2013-12-20 22:34 (UTC)

The description for this package is wrong. (a) Don't include pkgname in the description, that's part of the PKGBUILD guidelines, (b) Use a more serious description, like "A game about placing blocks to build anything you can imagine.", or "An open world sandbox indie game." (from minecraft.net and wikipedia respectively).

whynothugo commented on 2013-11-04 22:40 (UTC)

Under which wierd setup does the output go to daemon.log? If running in a console it goes to the console, otherwise, the output is discarted. Otherwise, daemon.log would be full of all sort of junk from almost every user-space app.

Malifrax commented on 2013-11-02 22:06 (UTC)

The reason for piping the output to /dev/null is so that the system logs (/var/log/daemon.log in particular) don't get bloated with Minecraft log information. This isn't a huge issue for vanilla players, but if one plays with mods the amount of log entries can be quite a nuisance.

BombStrike commented on 2013-10-25 06:04 (UTC)

Updated icon and removed output to /dev/null Tried the swing flags but as said by @hobarrera it doesn't seem to work with jre7

commented on 2013-10-13 18:49 (UTC)

Is this package still obsolete? The path to download Minecraft.jar is still the same, but the actual file is different.

commented on 2013-10-13 18:44 (UTC)

Where were these file obtained? Is this a launcher or the real game?

conley commented on 2013-10-04 00:31 (UTC)

Could you switch the png to a higher resolution one, like this one, for example: http://fc03.deviantart.net/fs71/i/2011/008/6/1/minecraft_hd_icon___mac___pc_by_hunterkharon-d36qrs5.png It's ripped directly from the Minecraft source and it looks a lot better in Gnome 3.

whynothugo commented on 2013-07-19 03:14 (UTC)

@J0k3r: Doesn't work for me. AFAIK, that swing+gtk no longer works as of java7. :/

CheapTransfers commented on 2013-07-19 01:38 (UTC)

if you want the new launcher to use the swing gtk l&f, insert '-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel' in your start script. You can also insert '-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true' for anti-aliased fonts.

whynothugo commented on 2013-07-14 21:32 (UTC)

Is there any particular reason to pipe all output to /dev/null?

tmoore commented on 2013-07-14 00:56 (UTC)

If you want to get around this for now, just edit the PKGBUILD file and replace the second md5sum you see with 85273e24404cc6865805f951487b8a1e

whynothugo commented on 2013-07-12 21:25 (UTC)

Upstream checksum has changed.

BombStrike commented on 2013-07-11 15:23 (UTC)

I will though make a release 20 to address the changes highlighted by hobarrera and heftig

BombStrike commented on 2013-07-11 15:22 (UTC)

New launcher is included in version 19, please remove archlinuxfr from your repos as they have decided to provide dozens of outdated packages from AUR or explicitly install aur/minecraft and you should be able to install it.

vladimir1922 commented on 2013-07-11 15:15 (UTC)

Since version 1.6.1 it requires a new Launcher, this package is now obsolete

whynothugo commented on 2013-07-11 05:06 (UTC)

The license for this package isn't installed where it should be (/usr/share/licenses/minecraft/).

whynothugo commented on 2013-07-11 05:05 (UTC)

Please remove " || return 1". This hasn't been needed for ages; makepkg bails if anything goes wrong now.

heftig commented on 2013-07-04 17:57 (UTC)

Oh, and you might want to do ">/dev/null" to suppress the debug output, which gets captured by the launcher already.

heftig commented on 2013-07-04 17:56 (UTC)

Using -Xms and -Xmx in the script is now pointless because the launcher spawns a new VM. The parameters for it can be set in the launcher. I don't think the LD_LIBRARY_PATH is needed anymore.

BombStrike commented on 2013-07-04 12:48 (UTC)

Seems like someone uploaded the previous version on the archlinuxfr repo so if you use yaourt, please do "yaourt -S aur/minecraft" to force the installation of the aur version.

commented on 2013-07-04 05:19 (UTC)

It still uses the old launcher for me. I've even tried manually deleting all files and reinstalling.

BombStrike commented on 2013-07-01 12:55 (UTC)

Updated to use latest launcher. Sorry about the delay

vorenon commented on 2013-07-01 12:25 (UTC)

1.6.1 is out and with it a new launcher. Please update the package.

antoniovazquez commented on 2013-06-19 13:22 (UTC)

Some of us are using custom launchers and by default this launchers search for minecraft in $HOME/.minecraft. It would be nice to have minecraft launcher there on installation (without having to update). Can you use a simbolic link for example? Thanks.

BombStrike commented on 2013-05-03 02:04 (UTC)

If you're talking about the launcher provided here: http://mojang.com/2013/05/minecraft-snapshot-13w18a/ I'm not sure yet, I'll probably wait 1 week or 2 so that they can fix any big issues they may find in it then probably use it in this package.

allevil669 commented on 2013-05-02 16:10 (UTC)

Now that the new launcher supports 1.5.1 and 1.5.2, will you be updating this package to use it?

rafaelff commented on 2013-04-28 14:24 (UTC)

@BombStrike: It is the best pratice that if nothing is built, then better using only package() function. Also, "|| return 1" is deprecated.

luolimao commented on 2013-04-18 05:09 (UTC)

@Jristz have a look at http://bash.cyberciti.biz/guide//etc/profile.d @Bombstrike Actually, if you're writing the script yourself, it would be great to stick it in the above folder.

UnsolvedCypher commented on 2013-03-09 15:48 (UTC)

@BombStrike I think the script is a good idea, especially if you mention it during the installation proccess.

commented on 2012-12-15 03:35 (UTC)

@arronax - actually, i don't have ttf-dejavu but ttf-ms-fonts (from the aur) and it works fine for me.

commented on 2012-10-29 08:56 (UTC)

Please add ttf-dejavu as dependencies. If this package is not installed, minecraft will instantly abort after starting

commented on 2012-10-28 04:30 (UTC)

If you have jdk7 installed the only form to fun minecraft is export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64" java -jre minecraft.jar is possible to add any thipe of workaround for it in a 64bit machine runing jdk7/jre7???

BombStrike commented on 2012-08-23 02:33 (UTC)

@Willrandship Yes it would indeed be nice, but that's not possible as the .minecraft directory created in the user home is done by the minecraft launcher itself and there is no "clean" way for me to act upon it (unless modifying/injecting code in the launcher, but that souldn't be done in a "vanilla" package). The best I could do is provide a small script, like minecraft-fix-lwjgl.sh that would do it, if you are fine with this.

Babets commented on 2012-08-17 10:35 (UTC)

I agree with Willrandship proposal :)

commented on 2012-08-15 00:15 (UTC)

I'm getting stuck on the loading screen, it says "Done loading" and then it doesn't load anything. I've tried downloading LWGKJL or deleting the .minecraft folder (that doesn't have files on it, just the bin folder).

Synthead commented on 2012-08-09 01:16 (UTC)

You have an error in your LD_LIBRARY_PATH export. By stating LD_LIBRARY_PATH="$LD_LIBRARY_PATH: ... ", you're giving path precedence to the original LD_LIBRARY_PATH. We want to have the jdk7 libraries take priority over the broken ones, so it should be added last. This is a source package that includes the LD_LIBRARY_PATH fix (tested working) as well as some package cleanup: http://8bitboobs.com/stuff/minecraft-latest-19.src.tar.gz Please make sure your environment is set correctly for jdk7. If echo $LD_LIBRARY_PATH displays anything about jdk6, log out and log back in.

Willrandship commented on 2012-08-04 19:11 (UTC)

It might be a good idea to depend on lwjgl (also AUR) and do a symlink to the .minecraft/bin/natives directory. It should fix a lot of people's LWGJL woes.

BombStrike commented on 2012-08-03 09:37 (UTC)

Indeed, now I get the invalid checksum, sorry about that. Updating now

JonnyJD commented on 2012-08-03 09:29 (UTC)

Not really sure what you downloaded and what you testet, but: http://www.minecraft.net/download/minecraft.jar (in the source array of the PKGBUILD) AND https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar (which is the final destination after 302) have this md5sum (from where I download, possibly different due to some CDN): bb99785000fdb3ebadd61a4a347fa042 (proxy/caching problem?) The md5 in your PKGBUILD (-17) is: 3ce30e0c30d145ebfafda83d361bc2cc Yes, possibly the old launcher still works to update the game itself to 1.3.1. We still need to update the PKGBUILD as the md5sum has changed for the url we have in the source array. It is not up to us to decide that this launcher update "isn't worth it". For somebody installing the package from the AUR (without the old jar) it just doesn't work.

BombStrike commented on 2012-08-03 02:06 (UTC)

Checked on the minecraft website and the launcher is still the same and does update the client to 1.3.1 (at least there). The minecraft.jar provided on the mojang website was just a patched one that provided 1.3+ before the normal one as far as I understand.

mrbit commented on 2012-08-02 16:15 (UTC)

ok

JonnyJD commented on 2012-08-02 12:31 (UTC)

What mrbit wanted to tell you: Minecraft 1.3.1 is out and includes a new launcher so minecraft.jar has a new md5. Not sure what minecraft.desktop has to do with this.

mrbit commented on 2012-08-01 16:16 (UTC)

validating source files with md5sum.. minecraft.desktop

BombStrike commented on 2012-03-02 04:45 (UTC)

Fixed

commented on 2012-03-01 16:48 (UTC)

validating source files with md5sum... minecraft.jar....FAILED

commented on 2012-01-28 19:59 (UTC)

Thanks BombStrike, the fix worked great, installed with yaourt.

Schnouki commented on 2012-01-21 18:56 (UTC)

You're trying to install a source tarball (i.e. the one you downloaded on the AUR) instead of the actual package (ending in .pkg.tar.xz).

commented on 2012-01-21 05:12 (UTC)

Adding noextract=("minecraft.jar") before the build () line worked but now when I run: pacman -U minecraft-latest-15.src.tar.gz I get this: loading packages... error: missing package metadata in minecraft-latest-15.src.tar.gz error: 'minecraft-latest-15.src.tar.gz': invalid or corrupted package

commented on 2012-01-20 14:59 (UTC)

Because file -bi reports them as application/zip...

BombStrike commented on 2012-01-20 13:55 (UTC)

Added the noextract line. But seriously, why the hell would one want to extract a .jar file? They must have a good reason to add it to makepkg but still...

andmars commented on 2012-01-20 11:52 (UTC)

@Campaigner444 just add noextract=("minecraft.jar") before the build () line and it installs just fine here.

commented on 2012-01-17 00:18 (UTC)

when I do a makepkg -s I get: ==> Making package: minecraft latest-15 (Mon Jan 16 19:14:35 EST 2012) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Found minecraft -> Downloading minecraft.jar... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 89406 100 89406 0 0 254k 0 --:--:-- --:--:-- --:--:-- 700k -> Found minecraft.desktop -> Found minecraft.png -> Found minecraft.install ==> Validating source files with md5sums... minecraft ... Passed minecraft.jar ... Passed minecraft.desktop ... Passed minecraft.png ... Passed minecraft.install ... Passed ==> Extracting Sources... -> Extracting minecraft.jar with bsdtar META-INF/: Can't remove already-existing dir bsdtar: Error exit delayed from previous errors. ==> ERROR: Failed to extract minecraft.jar Aborting... Is it tying to extract the minecraft.jar? Is it supposed to?

JonnyJD commented on 2011-12-11 04:22 (UTC)

+noextract=("minecraft.jar")

JonnyJD commented on 2011-11-28 17:40 (UTC)

I suggest generating another pkg for the mcvtool. Then you have the option ;-) When you rename the shellscript to minecraft-version or similar, you can even have both coexist, I think.

commented on 2011-11-28 14:58 (UTC)

would it be possible to have the minecraft launcher replaced with this one? http://digiex.net/minecraft/mcvtool/ it allows you to use multiple versions of minecraft which helps with playing on servers, even if its just an option to pick one or the other?

BombStrike commented on 2011-11-28 02:10 (UTC)

That version should work with both versions of the JRE

Babets commented on 2011-11-27 18:34 (UTC)

Thanks marcs, same here for x86_64 (/opt/java/jre/lib/amd64). BombStrike I think you should update the pkgbuild.

marcs commented on 2011-11-26 16:55 (UTC)

I've solved the problem below exporting this variable: export LD_LIBRARY_PATH="/usr/lib/jvm/java-7-openjdk/jre/lib/i386/" This works if you are using the openjdk package. If you are using the jdk package the path should be /opt/java/jre/lib/i386 (but check if it is true). Bbye

marcs commented on 2011-11-26 16:17 (UTC)

Hey, thanks for the update. But in my archbox i got this problem after the update. After i click on the login button i got this java exception. I've tried with the original jdk7 and now the openjdk7 version and the problem persists. Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/marcs/.minecraft/bin/natives/liblwjgl.so: libjawt.so: impossibile aprire il file oggetto condiviso: File o directory non esistente at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at org.lwjgl.Sys$1.run(Sys.java:69) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.doLoadLibrary(Sys.java:65) at org.lwjgl.Sys.loadLibrary(Sys.java:81) at org.lwjgl.Sys.<clinit>(Sys.java:98) at org.lwjgl.opengl.Display.<clinit>(Display.java:132) at net.minecraft.client.Minecraft.a(SourceFile:187) at net.minecraft.client.Minecraft.run(SourceFile:644) at java.lang.Thread.run(Thread.java:722)

commented on 2011-11-24 08:52 (UTC)

Thanks for the update!

BombStrike commented on 2011-11-24 02:04 (UTC)

Merged most suggested changes and updated the install file now that the game is out of Beta.

Dirk commented on 2011-11-13 13:59 (UTC)

32 bits is heavily outdated (there are 64 bits CPUs around since 10 years!), even Minecraft itself warns when using 32 bits Java. LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_HOME/lib/amd64/:$JAVA_HOME/lib/i386/:" exec java -Xmx1024M -Xms512M -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrame "$@"

commented on 2011-11-04 08:50 (UTC)

Even better: LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_HOME/lib/i386/:$JAVA_HOME/lib/amd64/:" exec java -Xmx1024M -Xms512M -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrame "$@" It should be jre independant.

swiftgeek commented on 2011-11-02 21:52 (UTC)

LD_LIBRARY_PATH="/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/:/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/" exec java -Xmx1024M -Xms512M -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrame $@ For jre7-openjdk

commented on 2011-11-01 11:36 (UTC)

I've just found how to fix the GLX13 bug with bumblebee. In /usr/bin/minecraft, just change LD_LIBRARY_PATH="/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/" to LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/" and voilà!

commented on 2011-10-30 22:12 (UTC)

@killermoehre This package just installs the launcher, not the game itself. Which means it's not out of date at all. When the full release of 1.9 is out, the game will update itself.

killermoehre commented on 2011-10-30 09:33 (UTC)

Minecraft 1.9 pre 5 is out http://assets.minecraft.net/1_9-pre5/minecraft.jar

commented on 2011-09-24 19:49 (UTC)

Hi! I know my machine is a bit outdated, but I think it could handle Minecraft. Although, I'm having some problems here. Perhaps someone here can have some insight of what happening here... All I get when I try to run it, is a black (window) screen after the download. In my terminal I see some reports: http://www.dpaste.de/NJVOn/ I'm using the opensource ATI drivers (Radeon X1200 Series, junk right? I know... =/ Perhaps the culprit of the problem.) with openjdk. I have tested with jdk and got about the same results... Thanks in advance!

commented on 2011-09-24 16:56 (UTC)

1.8 or most likely 1.9prerelease now works on proprietary ati drivers. Running at average of 90fps of 6850. But sometimes the keys stick and you walk keep walking.

commented on 2011-09-16 03:01 (UTC)

Would you consider adding "-server" to the java options in /usr/bin/minecraft? It doesn't seem to affect anything negatively, and I get a ~10fps performance boost from it here.

canuckkat commented on 2011-09-15 19:40 (UTC)

@VK7HSE I just submitted the bug here: http://getsatisfaction.com/mojang/topics/could_not_choose_glx13_config

JonnyJD commented on 2011-09-13 05:10 (UTC)

Looks like you are correct. There are two completely different files called both "minecraft.jar". Who would think of such a mess.. I don't particularly like it, but thanks for the clarification ;-)

dhaines commented on 2011-09-12 12:43 (UTC)

@JonnyJD: that's not how it works. The PKGBUILD is for the minecraft launcher, which is versioned independently from what you and I think of when we think of minecraft. The launcher keeps minecraft proper up-to-date, and thus it's always "latest." The MD5 only changes when the launcher is updated (last when they added those links on the right hand side). Make sense?

JonnyJD commented on 2011-09-12 12:31 (UTC)

You should include the correct version number in the PKGBUILD. "latest" is not helping and you have to change the md5 for new versions anyways.

Freso commented on 2011-09-09 19:23 (UTC)

While installing via yaourt, running the package through namcap returned the following: minecraft W: Description should not contain the package name. minecraft W: Dependency 'sh' on your system is a testing release minecraft E: Missing custom license directory (usr/share/licenses/minecraft) minecraft E: Dependency java-environment detected and not included (found class files usr/share/minecraft/minecraft.jar) minecraft E: Dependency bash detected and not included (programs ['sh'] needed in scripts ['usr/bin/minecraft']) minecraft W: Dependency included and not needed ('java-runtime') minecraft W: Dependency included and not needed ('xorg-server-utils') minecraft W: Dependency included and not needed ('openal')

BombStrike commented on 2011-08-21 21:06 (UTC)

For anyone still having issues I'd suggest sticking with openjdk6 or a downgraded version of the jre package instead of jre7, at least until notch decides to releases a new version that fixes the issues (maybe in 1.8 ?).

commented on 2011-08-21 20:11 (UTC)

I've seen fixes for this on the net, ie: http://getsatisfaction.com/mojang/topics/minecraft_doesnt_work_with_java_7 but they don't seem to fix it. This here is the problem (appears after setting user): Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/sirrom/.minecraft/bin/natives/liblwjgl64.so: /home/sirrom/.minecraft/bin/natives/liblwjgl64.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) at java.lang.Runtime.load0(Runtime.java:787) at java.lang.System.load(System.java:1022) at org.lwjgl.Sys$1.run(Sys.java:69) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.doLoadLibrary(Sys.java:65) at org.lwjgl.Sys.loadLibrary(Sys.java:81) at org.lwjgl.Sys.<clinit>(Sys.java:98) at org.lwjgl.opengl.Display.<clinit>(Display.java:132) at net.minecraft.client.Minecraft.a(SourceFile:244) at net.minecraft.client.Minecraft.run(SourceFile:716) at java.lang.Thread.run(Thread.java:679)

feilen commented on 2011-08-11 19:50 (UTC)

I have a dual graphics setup. On Intel integrated graphics, it works fine (albiet slow) but when running using the NVIDIA card with proprietary drivers, I get the same problem as VK7HSE.

prg commented on 2011-08-11 04:20 (UTC)

thanks for the package! However, I'm getting stuck on the pause screen on the latest update. Is anyone else having this issue? This is still better than what I could get running before.. "java -jar minecraft" with the latest jar just blackscreens currently

commented on 2011-08-01 03:06 (UTC)

Just a heads up for anybody who is having the sticky key problem. There is a fix that works. http://getsatisfaction.com/mojang/topics/stuck_keys_under_linux_unrelated_to_losing_focus_or_opening_the_inventory

commented on 2011-07-31 00:29 (UTC)

This is what I'm getting with this latest update... --- BEGIN ERROR REPORT e9df3db -------- Generated 31/07/11 10:28 AM Minecraft: Minecraft Beta 1.7.3 OS: Linux (amd64) version 3.0-ARCH Java: 1.7.0, Oracle Corporation VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation LWJGL: 2.4.2 [failed to get system properties (java.lang.NullPointerException)] org.lwjgl.LWJGLException: Could not choose GLX13 config at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method) at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52) at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:684) at org.lwjgl.opengl.Display.create(Display.java:854) at org.lwjgl.opengl.Display.create(Display.java:784) at org.lwjgl.opengl.Display.create(Display.java:765) at net.minecraft.client.Minecraft.a(SourceFile:294) at net.minecraft.client.Minecraft.run(SourceFile:716) at java.lang.Thread.run(Thread.java:722) --- END ERROR REPORT 8ac0a51d ---------- This is what is displayed in the terminal... org.lwjgl.LWJGLException: Could not choose GLX13 config at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method) at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52) at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:684) at org.lwjgl.opengl.Display.create(Display.java:854) at org.lwjgl.opengl.Display.create(Display.java:784) at org.lwjgl.opengl.Display.create(Display.java:765) at net.minecraft.client.Minecraft.a(SourceFile:262) at net.minecraft.client.Minecraft.run(SourceFile:716) at java.lang.Thread.run(Thread.java:722) org.lwjgl.LWJGLException: Could not choose GLX13 config at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method) at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52) at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:684) at org.lwjgl.opengl.Display.create(Display.java:854) at org.lwjgl.opengl.Display.create(Display.java:784) at org.lwjgl.opengl.Display.create(Display.java:765) at net.minecraft.client.Minecraft.a(SourceFile:294) at net.minecraft.client.Minecraft.run(SourceFile:716) at java.lang.Thread.run(Thread.java:722)

commented on 2011-07-30 21:22 (UTC)

It works with the latest JRE/JDE in 64-bit... for a while. Eventually, I get back to the "can't get out of the escape menu" problem that I've had before. Sticking to 6u26 for the time being.

BombStrike commented on 2011-07-30 08:28 (UTC)

Just uploaded a new version using your fix wriggary. Tested it on 64bits with JRE or OpenJDK and worked on both.

commented on 2011-07-29 22:00 (UTC)

Bombstrike, (or anyone else for that matter) for a quick fix for the jre7 update for time being, modify the exec line of the ./minecraft script to read: LD_LIBRARY_PATH="/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/" exec java -Xmx1024M -Xms512M -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrame $@ works here (on i386, jre-7-2. needs testing for x86_64)

sailerboy commented on 2011-07-29 21:57 (UTC)

To fix the problem with JRE 1.7 on 64 bit, add "sed "s|QT_IM_MODULE|&\n#Fix for those using JRE 7 on 64 bit\nexport LD_LIBRARY_PATH=\"/opt/java/jre/lib/amd64\"|" <minecraft >minecraft2; mv minecraft2 minecraft" to line 22. Here is the full fixed PKGBUILD: http://pastebin.com/VVtvWLRU. This is a workaround, not a fix. It simply tells Minecraft to use the 64 bit library. I got it from http://getsatisfaction.com/mojang/topics/minecraft_doesnt_work_with_java_7#reply_5934409

oneeyed commented on 2011-07-29 16:38 (UTC)

This is being taken care of in https://bugs.archlinux.org/task/25305 and is not directly linked to Minecraft.

Dirk commented on 2011-07-29 16:15 (UTC)

Reproducible blackscreen with JRE 1.7. After update to JRE 1.7 Minecraft crashes. After Downgrading to 6u26 it’s fine again.

elgabo commented on 2011-07-11 21:35 (UTC)

Question.. I need the 1.6.6 version to play the zelda mod, do you know how do it? Thanks for your package!

Synthead commented on 2011-06-11 23:47 (UTC)

Is this crashing for anyone else on start with the catalyst driver?

commented on 2011-05-17 21:07 (UTC)

Don't need all xorg-server-utils dependencies, only xorg-xrandr is necessary. Seems openal isn't necessary too, I uninstalled it and all sounds are working flawless.

BombStrike commented on 2011-04-03 19:38 (UTC)

No it doesn't, the package only provides the launcher which hasn't changed in the latest beta.

louis058 commented on 2011-04-03 18:51 (UTC)

Needs to be updated to 1.4

commented on 2011-03-19 23:28 (UTC)

not sure if this is still an issue, but I noticed that /usr/bin/minecraft is NOT executable by "default" after installing... thanx for packaging it though... xD

BombStrike commented on 2011-03-18 10:27 (UTC)

Fixed permissions using "install" instead of copying files and fixed dependencies

Dirk commented on 2011-03-15 11:07 (UTC)

Permissions defect and dependencies broken. Should be fixed

commented on 2011-03-08 17:35 (UTC)

This shouldn't depend on xorg-xrandr anymore, should it? It's provided by xorg-server-utils and the package "xorg-xrandr" is not availible with current repos.

commented on 2011-03-06 05:30 (UTC)

I don't have permission to run /usr/bin/minecraft. :/

commented on 2011-03-05 12:34 (UTC)

Also, you don't have to put minecraft.install in the source array.

hwkiller commented on 2011-03-04 03:17 (UTC)

Bauerbill has informed me of an error: http://pastebin.com/GumakDBm

dhaines commented on 2011-02-25 15:46 (UTC)

Rock on. Thanks!!

BombStrike commented on 2011-02-25 15:45 (UTC)

Just updated it, will also try to put orlandu63's changes in the next release.

cgirard commented on 2011-02-25 15:37 (UTC)

BombStrike usually update it rather quickly. Just wait some time. In the meantime, you may do it by yourself on your side. Use "makepkg -g" to get the new md5sum array to put in the PKGBUILD you've downloaded.

dhaines commented on 2011-02-25 15:33 (UTC)

Fair enough. So, will the actual pkgbuild be changed to reflect that?

cgirard commented on 2011-02-25 15:25 (UTC)

Yes. As reported below the md5 for minecraft.jar has changed. You need to update it in the pkgbuild for the package to build successfully.

dhaines commented on 2011-02-25 15:14 (UTC)

I keep getting an error, "One or more files did not pass the validity check!," whenever I try to build. Any thoughts?

WorMzy commented on 2011-02-23 20:08 (UTC)

Another new md5: 6e053e85cd4920f7aaf26c4455b50ce7

commented on 2011-02-23 14:11 (UTC)

I revised your PKGBUILD (not that it was particularly bad): http://pub.lambda.ath.cx/patrick/stuff/minecraft.PKGBUILD Feel free to implement (or not) some of the revisions/suggestions/ideas I've made.

BombStrike commented on 2011-02-23 12:43 (UTC)

Updated again and added the $@ to the exec line, should do the trick

franciscod commented on 2011-02-23 04:03 (UTC)

quoting from http://mcupdate.tumblr.com/post/3427294253/welcome-to-the-new-minecraft-launcher "One cool feature about the new launcher you might want to know about is that you can pass it command-line features! The syntax is: Minecraft <username> <password> <server:port>" Currently, this package's /usr/bin/minecraft script does not pass the arguments to the JAR file, a simple $@ at the end of the 'exec' line would do the trick :)

commented on 2011-02-22 18:26 (UTC)

New md5sum 9bf1523cbb6a6e9b0c0ea55261050780

tjb0607 commented on 2011-02-22 02:35 (UTC)

The loader has been updated, so you have a md5sum to update. Flagged out of date.

WorMzy commented on 2011-02-21 20:45 (UTC)

New md5 for minecraft.jar (second md5 line) is 578d9eae4409878b5a6f11b4d1562233

commented on 2011-02-02 21:00 (UTC)

#xewl It works for me on Open Source ATI drivers.. Try to run it in terminal and paste output.

commented on 2011-02-02 02:54 (UTC)

If you don't have the official graphical drivers installed via AUR, you mostly can't play the game also. It just doesn't load it after logging in. I have a ATI Radeon HD 4K card, and fixed my issues with the ATI Catalyst AUR.

commented on 2011-02-01 23:56 (UTC)

It gives me error "Permission Denied" always when I try "minecraft" in Terminal or by icon .desktop. chmod +x /usr/bin/minecraft Fixing the issue, is it the right way to do?

td123 commented on 2011-01-23 01:31 (UTC)

please update the PKGBUILD to reflect: Minecraft.jar is now minecraft.jar in the post install message, mention that it is 15 euro now that it is out of alpha.

commented on 2010-12-23 18:31 (UTC)

Actually, you could change the 3 lines at the top to simply 'unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE'. Obviously, this isn't exactly a pressing issue, but you could always include it in an update in the future.

commented on 2010-12-21 08:44 (UTC)

Newer version gets to the end of the loading screen and locks up. Here's a paste: http://aur.pastebin.com/GGpCxRGT

commented on 2010-12-20 15:20 (UTC)

Thanks.

BombStrike commented on 2010-12-20 09:54 (UTC)

Changed dependencies and fixed keyboard issues, removed also optional dependencie on minecraft-data as Notch fixed those issues quite a long time ago.

commented on 2010-12-20 02:53 (UTC)

Turns out that the keyboard problems, or at least mine, were caused by my Japanese input setup. Could you apply the following patch to the minecraft file, please? It should help some other people too. http://aur.pastebin.com/UNTtTGKr

commented on 2010-12-15 09:50 (UTC)

The game doesn't seem to detect my keyboard's input after login. I tried to change my game's settings, etc to no avail. Perhaps an issue with java? If it matters, it's a TypeMatrix USB kb.

Dieter_be commented on 2010-12-13 10:27 (UTC)

instead of `java -Xmx1024M -Xms512M -cp /usr/share/minecraft/Minecraft.jar net.minecraft.LauncherFrame` you should `exec java -Xmx1024M -Xms512M -cp /usr/share/minecraft/Minecraft.jar net.minecraft.LauncherFrame`

dcelasun commented on 2010-12-03 19:01 (UTC)

This package also depends on xorg-xrandr. Minecraft crashes without it.

disastro commented on 2010-11-28 06:51 (UTC)

Dependencies should be jre and openal. Minecraft doesn't work with openjdk6 and even the creator said you should use Sun Java on Linux. Openal is for sounds but you need to remove the shipped libopenal.so from .minecraft/bin/natives and it will use the one from system that works. (I haven't tried this PKGBUILD, but this all is from experience by installing it natively) Also there is no minecraft.install, add it or remove "install=('minecraft.install')"

commented on 2010-11-09 23:03 (UTC)

A minor correction for the minecraft.install script: the website is www.minecraft.net, not .com.

sorcix commented on 2010-11-07 21:41 (UTC)

Why isn't this set to "arch=(any)"?

commented on 2010-10-31 10:00 (UTC)

I'm still getting black screen after login. Installed extra/xorg-xrandr, I get the following: Username is 'xxx' 28 Setting user: xxx, -xxx Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError at net.minecraft.client.Minecraft.a(SourceFile:150) at net.minecraft.client.Minecraft.run(SourceFile:560) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:234) at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:196) at org.lwjgl.opengl.XRandR.populate(XRandR.java:87) at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52) at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108) at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) ... 3 more Annoying thing is, it worked last night.

commented on 2010-10-30 17:10 (UTC)

Minecraft also depends on extra/xorg-xrandr, otherwise you get a black screen after login and the following errors: java -jar Minecraft.jar Username is '' 28 Setting user: , -3029618486680020333 java.io.IOException: Cannot run program "xrandr": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at java.lang.Runtime.exec(Runtime.java:593) at java.lang.Runtime.exec(Runtime.java:466) at org.lwjgl.opengl.XRandR.populate(XRandR.java:66) at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52) at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108) at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) at net.minecraft.client.Minecraft.a(SourceFile:148) at net.minecraft.client.Minecraft.run(SourceFile:554) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 12 more Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError at net.minecraft.client.Minecraft.a(SourceFile:148) at net.minecraft.client.Minecraft.run(SourceFile:554) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:115) at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) ... 3 more

roobre commented on 2010-10-10 20:24 (UTC)

Doesn't Work for me. Just an annoying black screen after login :S PD: Using OpenJDK instead of SunJDK due to Netbeans dependencies.

commented on 2010-09-29 12:50 (UTC)

please add xorg-server-utils as a dependency

BombStrike commented on 2010-09-19 02:12 (UTC)

I created the package minecraft-data that provides and install the missing resources, tell me if any file is missing from it

BombStrike commented on 2010-09-19 00:48 (UTC)

Notch disabled the download of sound resources for new players for a while to ease the load on his servers.

commented on 2010-09-19 00:05 (UTC)

I got no sound when running Minecraft. Anyone know how to fix this?

dcelasun commented on 2010-09-17 11:33 (UTC)

This doesn't depend on openjdk6, it depends on java-runtime, which can be provided by a lot packages including openjd6, jdk, jre etc.

BombStrike commented on 2010-08-05 16:25 (UTC)

This is the commercial version, you'll need to buy the game on the official website to play it.