Package Details: minecraft latest-25

Git Clone URL: https://aur.archlinux.org/minecraft.git (read-only)
Package Base: minecraft
Description: An open-world game whose gameplay revolves around breaking and placing blocks
Upstream URL: http://www.minecraft.net/
Keywords: game minecraft
Licenses: custom
Submitter: BombStrike
Maintainer: BombStrike
Last Packager: BombStrike
Votes: 591
Popularity: 9.391299
First Submitted: 2010-08-05 16:24
Last Updated: 2016-09-12 02:31

Required by (9)

Sources (6)

Latest Comments

yukixz commented on 2016-09-18 12:16

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

BombStrike commented on 2016-09-15 02:20

@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

@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

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

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

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

hobarrera commented on 2016-03-04 02:26

@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

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

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

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

BombStrike commented on 2015-05-10 02:59

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

If you change the Icon line in your desktop file to:

Icon=minecraft

Icon themes can customize the icon. ;)

bernimoses commented on 2015-05-03 15:15

Just to refresh the first comment: 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

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

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

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

sxty commented on 2014-10-15 17:41

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

hobarrera commented on 2014-10-13 06:27

@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

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?

hobarrera commented on 2014-10-12 22:33

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

Det commented on 2014-10-12 19:02

Doesn't the game have an actual version?

nasedo commented on 2014-09-11 07:51

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.

nasedo commented on 2014-09-04 16:22

Does this really require ttf-dejavu? Wouldn't ttf-font, which is provided by several font packages including ttf-dejavu, suffice?

Chais commented on 2014-07-07 07:19

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

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

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

Brottweiler commented on 2014-06-22 12:19

@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

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?

MLeerkotte commented on 2014-06-22 09:17

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

jleclanche commented on 2014-05-06 22:20

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

Reventlov commented on 2014-04-28 13:34

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

Reventlov commented on 2014-04-28 13:33

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

Booster-SDK commented on 2014-04-18 18:17

@sterlo I didnt flag it

sterlo commented on 2014-04-13 18:11

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

Toost_Inc commented on 2014-04-11 18:41

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

Booster-SDK commented on 2014-03-17 18:27

OpenAL is not needed

BombStrike commented on 2014-02-17 00:55

There you go, updated description taken from wikipedia

hobarrera commented on 2013-12-20 22:34

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).

hobarrera commented on 2013-11-04 22:40

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

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

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

mininessie commented on 2013-10-24 00:26

error cannot find the strip binary reguried for object file stripping

gnuser commented on 2013-10-13 18:49

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

gnuser commented on 2013-10-13 18:44

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

conley commented on 2013-10-04 00:31

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.

Corubba commented on 2013-08-06 21:24

Just an idea I came across. Since there is a same-named but outdated package in the archlinuxfr repo, it would be nice to add "provides=('[archlinuxfr] minecraft')" and "conflicts=('minecraft')" to the PKGBUILD in order to stop pacman and co. from using the outdated archlinuxfr one over the uptodate AUR one. Tested it myself, it worked.

hobarrera commented on 2013-07-19 03:14

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

J0k3r commented on 2013-07-19 01:38

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.

hobarrera commented on 2013-07-14 21:32

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

tmoore commented on 2013-07-14 00:56

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

hobarrera commented on 2013-07-12 21:25

Upstream checksum has changed.

BombStrike commented on 2013-07-11 15:23

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

BombStrike commented on 2013-07-11 15:22

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

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

hobarrera commented on 2013-07-11 05:06

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

hobarrera commented on 2013-07-11 05:05

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

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

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

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.

Anonymous comment on 2013-07-04 05:19

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

Updated to use latest launcher. Sorry about the delay

vorenon commented on 2013-07-01 12:25

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

antoniovazquez commented on 2013-06-19 13:22

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

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

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

@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

@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

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

Anonymous comment on 2012-12-15 03:35

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

Anonymous comment on 2012-10-29 08:56

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

Jristz commented on 2012-10-28 04:30

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

@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.

frb commented on 2012-08-17 10:35

I agree with Willrandship proposal :)

Anonymous comment on 2012-08-15 00:15

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

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.

Synthead commented on 2012-08-09 01:15

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

Synthead commented on 2012-08-09 01:11

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

Willrandship commented on 2012-08-04 19:11

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

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

JonnyJD commented on 2012-08-03 09:29

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

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

ok

JonnyJD commented on 2012-08-02 12:31

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

validating source files with md5sum.. minecraft.desktop

BombStrike commented on 2012-03-02 04:45

Fixed

Anonymous comment on 2012-03-01 16:48

validating source files with md5sum...
minecraft.jar....FAILED

Anonymous comment on 2012-01-28 19:59

Thanks BombStrike, the fix worked great, installed with yaourt.

Schnouki commented on 2012-01-21 18:56

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).

Anonymous comment on 2012-01-21 05:12

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

Anonymous comment on 2012-01-20 14:59

Because file -bi reports them as application/zip...

BombStrike commented on 2012-01-20 13:55

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

@Campaigner444

just add noextract=("minecraft.jar") before the build () line and it installs just fine here.

andmars commented on 2012-01-20 11:44

same error as Campaigner444 reported. Please fix PKGBUILD.
Thank you.

Anonymous comment on 2012-01-17 00:18

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

+noextract=("minecraft.jar")

JonnyJD commented on 2011-11-28 17:40

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.

Anonymous comment on 2011-11-28 14:58

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

That version should work with both versions of the JRE

frb commented on 2011-11-27 18:34

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

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

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)

Anonymous comment on 2011-11-24 08:52

Thanks for the update!

BombStrike commented on 2011-11-24 02:04

Merged most suggested changes and updated the install file now that the game is out of Beta.

dsohler commented on 2011-11-13 13:59

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 "$@"

Anonymous comment on 2011-11-04 08:50

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

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

Anonymous comment on 2011-11-01 11:36

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à!

Anonymous comment on 2011-10-30 22:12

@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

Minecraft 1.9 pre 5 is out
http://assets.minecraft.net/1_9-pre5/minecraft.jar

Anonymous comment on 2011-09-24 19:49

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!

Anonymous comment on 2011-09-24 16:56

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.

Anonymous comment on 2011-09-16 03:01

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

@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

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

@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

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

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

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 ?).

jwm-art commented on 2011-08-21 20:11

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

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.

punkrockguy318 commented on 2011-08-11 04:20

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

punkrockguy318 commented on 2011-08-11 03:55

thanks so much! couldn't get minecraft to work on 64 bit otherwise for some reason

Anonymous comment on 2011-08-01 03:06

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

Anonymous comment on 2011-07-31 00:29

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)

Anonymous comment on 2011-07-30 21:22

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

Just uploaded a new version using your fix wriggary.
Tested it on 64bits with JRE or OpenJDK and worked on both.

Anonymous comment on 2011-07-29 22:00

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

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

This is being taken care of in https://bugs.archlinux.org/task/25305 and is not directly linked to Minecraft.

oneeyed commented on 2011-07-29 16:23

This is strange, as the 64 bits versions are also present in .minecraft/bin/natives:

-rw------- 1 sam sam 14512 Jul 29 18:15 libjinput-linux64.so
-rw------- 1 sam sam 13824 Jul 29 18:15 libjinput-linux.so
-rw------- 1 sam sam 463736 Jul 29 18:15 liblwjgl64.so
-rw------- 1 sam sam 358360 Jul 29 18:15 liblwjgl.so
-rw------- 1 sam sam 525203 Jul 29 18:15 libopenal64.so
-rw------- 1 sam sam 400561 Jul 29 18:15 libopenal.so

Minecraft seems to be loading the wrong ones.

oneeyed commented on 2011-07-29 16:17

The error message with JRE 1.7 is:

Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/sam/.minecraft/bin/natives/liblwjgl.so: /home/sam/.minecraft/bin/natives/liblwjgl.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: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:244)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Thread.java:722)

Looks like 64 bits Java is trying to use, through Minecraft downloads, 32 bits libraries

dsohler commented on 2011-07-29 16:15

Reproducible blackscreen with JRE 1.7. After update to JRE 1.7 Minecraft crashes. After Downgrading to 6u26 it’s fine again.

gablink commented on 2011-07-11 21:35

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

Is this crashing for anyone else on start with the catalyst driver?

Anonymous comment on 2011-05-17 21:07

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

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

Needs to be updated to 1.4

Anonymous comment on 2011-03-19 23:28

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

Fixed permissions using "install" instead of copying files and fixed dependencies

dsohler commented on 2011-03-15 11:07

Permissions defect and dependencies broken. Should be fixed

Anonymous comment on 2011-03-08 17:35

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.

Anonymous comment on 2011-03-06 05:30

I don't have permission to run /usr/bin/minecraft. :/

Anonymous comment on 2011-03-05 12:34

Also, you don't have to put minecraft.install in the source array.

hwkiller commented on 2011-03-04 03:17

Bauerbill has informed me of an error:
http://pastebin.com/GumakDBm

dhaines commented on 2011-02-25 15:46

Rock on. Thanks!!

BombStrike commented on 2011-02-25 15:45

Just updated it, will also try to put orlandu63's changes in the next release.

cgirard commented on 2011-02-25 15:37

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

Fair enough. So, will the actual pkgbuild be changed to reflect that?

cgirard commented on 2011-02-25 15:25

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

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

Another new md5: 6e053e85cd4920f7aaf26c4455b50ce7

Anonymous comment on 2011-02-23 14:11

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

Updated again and added the $@ to the exec line, should do the trick

franciscod commented on 2011-02-23 04:03

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 :)

franciscod commented on 2011-02-23 04:00

quote 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>"

The /usr/bin/minecraft script currently does not pass the arguments to the JAR file, a simple way to fix this would be add an $@ at the end of the exec line :)

Anonymous comment on 2011-02-22 18:26

New md5sum 9bf1523cbb6a6e9b0c0ea55261050780

tjb0607 commented on 2011-02-22 02:35

The loader has been updated, so you have a md5sum to update. Flagged out of date.

WorMzy commented on 2011-02-21 20:45

New md5 for minecraft.jar (second md5 line) is 578d9eae4409878b5a6f11b4d1562233

Anonymous comment on 2011-02-02 21:00

#xewl

It works for me on Open Source ATI drivers.. Try to run it in terminal and paste output.

Anonymous comment on 2011-02-02 02:54

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.

Anonymous comment on 2011-02-01 23:56

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

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.

Anonymous comment on 2010-12-23 18:31

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.

Anonymous comment on 2010-12-21 08:44

Newer version gets to the end of the loading screen and locks up. Here's a paste:

http://aur.pastebin.com/GGpCxRGT

Anonymous comment on 2010-12-20 15:20

Thanks.

BombStrike commented on 2010-12-20 09:54

Changed dependencies and fixed keyboard issues, removed also optional dependencie on minecraft-data as Notch fixed those issues quite a long time ago.

Anonymous comment on 2010-12-20 02:53

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

Anonymous comment on 2010-12-15 09:50

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

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

This package also depends on xorg-xrandr. Minecraft crashes without it.

disastro commented on 2010-11-28 06:51

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')"

Anonymous comment on 2010-11-09 23:03

A minor correction for the minecraft.install script: the website is www.minecraft.net, not .com.

sorcix commented on 2010-11-07 21:41

Why isn't this set to "arch=(any)"?

Anonymous comment on 2010-10-31 10:00

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.

Anonymous comment on 2010-10-30 17:10

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

Doesn't Work for me. Just an annoying black screen after login :S

PD: Using OpenJDK instead of SunJDK due to Netbeans dependencies.

Anonymous comment on 2010-09-29 12:50

please add xorg-server-utils as a dependency

BombStrike commented on 2010-09-19 02:12

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 01:20

I need to update the package anyway as a new .jar file is out, i'll create a minecraft-resources with the files hosted on my servers to address this issue

BombStrike commented on 2010-09-19 00:48

Notch disabled the download of sound resources for new players for a while to ease the load on his servers.

Anonymous comment on 2010-09-19 00:05

I got no sound when running Minecraft. Anyone know how to fix this?

dcelasun commented on 2010-09-17 11:33

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

This is the commercial version, you'll need to buy the game on the official website to play it.