Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr1008 :: Fix the "Sticky Keys" Bug in Minecraft

A way to correct a Minecraft bug

<< First, < Previous, Latest >>

Host Image
Hosted by Windigo on 2012-06-12 is flagged as Explicit and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (8)

A quickie episode by Windigo that covers a fix for the "Sticky Keys" bug in Minecraft on Linux.

The "Sticky Keys" bug causes the Minecraft client to act as if a button hasn't been released when it has - which causes your character, Steve, to suffer some awful consequences as a result (depending on what situation you are in when the bug occurs).

Upgrading the LWJGL libraries/drivers that come with Minecraft usually fixes this bug. To upgrade the drivers, do the following:

  • Download an updated version of the LWJGL libraries
    • LWJGL 2.8.0 - Not the latest release, but worked great for me
  • Copy the following files from lwjgl-2.8.0/jar/ in the zip file you downloaded to /home/[youruser]/.minecraft/bin/, replacing the existing files there:
    • jinput.jar
    • lwjgl.jar
    • lwjgl_util.jar
  • Copy all of the files from lwjgl-2.8.0/natives/ in the zip file you downloaded to /home/[youruser]/.minecraft/bin/natives/, again replacing the existing files there

If you still encounter issues with the new versions of the libraries, try a newer or older version until you find one that works with your system. 2.8.0 happens to work for my setup (Debian Stable w. Sun Java), but YMMV - your Minecraft may vary.

Links

  1. http://micro.fragdev.com/windigo/
  2. http://minecraft.net
  3. http://lwjgl.org
  4. http://sourceforge.net/projects/java-game-lib/files/Official%20Releases/LWJGL%202.8.0/lwjgl-2.8.0.zip/download

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2012-06-14T11:48:40Z by pokey

I'm trying this now, thank you.

Hey, Windigo, I just copied these files to my laptop, and I'm looking forward to seeing how it works. I get this bug all the time, but not ever in a way that it is reproducible, so I'll just have to wait and see how well it works. For me, the only way out of the bug was to open and close my inventory or the game's menu. I've gotten pretty good at opening and closing my inventory very quickly, but I like your solution better. Thanks a lot.

Comment #2 posted on 2012-06-27T11:41:04Z by Windigo

Good Luck

Good luck, Pokey - hope it helps! :)

Comment #3 posted on 2012-08-04T06:10:30Z by iron_houzi

Thank you!

Great fix. Just started playing and have ~12 friends and friends of friends playing on my server. Looking forward to your next Minecraft episode.

Comment #4 posted on 2012-09-01T22:04:03Z by Antian

Other possible issue?

I've also heard it's a keylogger or keystroke recorder that's been doing it, although I haven't tried it.

Comment #5 posted on 2012-10-03T21:02:19Z by Marc

Fixed!

Fixed on ubuntu 12.04

I love you.

Comment #6 posted on 2012-10-16T19:33:38Z by terwarf

Thanks a lot

You saved (at least for me) a lot of (virtual) lifes! Working like a charm for hours now...

Thank you

Comment #7 posted on 2013-02-10T18:58:36Z by Bart

Worked

Worked great here on Ubuntu 12.10! I walked myself accidentally in a deep hole a bit too much.

Comment #8 posted on 2013-04-02T11:57:53Z by Brodus8899

Working

Thanks bro it really helped me. Now I can record Youtube videos in peace. Subscribe and/or like to Brodus8899. ;)

Leave Comment

Powered by Comment Script