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 does not ship with the latest version of LWJGL.
 * 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 cutting out.
 * It has also been reported to fix intermittent crashes on Windows.

= Where to download =

http://lwjgl.org/download.php

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

Note: as of Dec 23, 2011 the latest stable release 2.8.2 causes a bug in which you cannot exit the options screen but 2.8.1 works. Download that version and continue with the instructions here.

I added links for the download and credit to who figured it out but the wiki captcha wouldn't work so I removed the links.

Note: On some 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.

= What to replace =

In the lwjgl-X.X.X.zip, there should be two folders, jar and natives. For every file that you have in your .minecraft/bin and .minecraft/bin/natives that exists in that archive, replace with the newer LWJGL version.

For example, in linux you would replace the following files (the process would be similar with Windows and Mac users, but with different files):

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