Tutorials/Update LWJGL (Legacy)

What is LWJGL?
LWJGL is the LightWeight Java Game Library. Essentially, it is what Minecraft uses for graphics, sound, and input.

Why update?

 * Minecraft will not ship with the latest version of LWJGL until Minecraft 1.3 is released.
 * Updating will fix some input bugs where keys seem to get stuck if you click at the same time. It also removes the "ghost" mouse pointer clicking.
 * Some users report a performance increase upon updating.
 * This can also potentially fix some issues regarding sound not working/cutting out.
 * It has also been reported to fix intermittent crashes on Windows.
 * Performance improvements. Is confirmed by sonicether to yield significantly higher framerates when using GLSL-Shaders http://www.minecraftforum.net/topic/940974-125sonic-ethers-unbelievable-shaders-glsl-shaders-dynamic-shadows-more//ref>

Where to download
http://lwjgl.org/download.php

Select the latest stable release and download the lwjgl-X.X.X.zip.

Note: some people reported that release 2.8.2 causes a bug in which you cannot exit the options screen; this appears to be fixed in 2.8.3 (released 1/23/2012).

Note: On MOST 64 bit computers, the lwjgl64.dll update will cause a black screen crash (as of stable release 2.8.1). Backup that file before updating it so you can rollback if there is a problem with it. Better yet, backup all files before updating.

Note: Again on several 64 bit computers, the OpenAL64.dll update can cause a sound glitch that makes bursting sounds. Keep a backup in case you need to rollback.

What to replace
In the lwjgl-X.X.X.zip, there should be two folders, named jar and natives. You should replace the files in .minecraft/bin and .minecraft/bin/natives with the versions from the .zip.

For example, in Linux you would replace the following files (the process is identical for Windows users, the only difference being the native files have the .dll extension, rather than .so):

In .minecraft/bin/ In .minecraft/bin/natives/
 * jinput.jar
 * lwjgl.jar
 * lwjgl_util.jar
 * libjinput-linux.so
 * libjinput-linux64.so
 * liblwjgl.so
 * liblwjgl64.so
 * libopenal.so
 * libopenal64.so

The .minecraft folder's location varies by operating system.
 * Linux: ~/.minecraft
 * Windows XP and up: %appdata%/.minecraft
 * Mac OS X: ~/Library/Application Support/minecraft

Resources

 * All versions
 * Video tutorial (Linux)

Tutoriels/Mettre LWJGL à jour Poradniki/Aktualizacja LWJGL