Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR1008: Fix the "Sticky Keys" Bug in Minecraft

Hosted by Windigo on 2012-06-12 00:00:00
Download or Listen

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. https://micro.fragdev.com/windigo/
  2. https://minecraft.net
  3. https://lwjgl.org
  4. https://sourceforge.net/projects/java-game-lib/files/Official%20Releases/LWJGL%202.8.0/lwjgl-2.8.0.zip/download

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.