Slick java library and 64 bit

Note: This post offers a Windows JAR/DLL package. I have delivered a newer version, also for Linux/Mac OS X. Get them from here

A long while ago I played around with Slick. A game library for Java. It offers easy 2d graphics drawing with the speed of OpenGL (by using LJWGL). It has much more features than that as well.ย 

When I tried it I was running Win XP 32 bit. However, recently I was trying my code again, this time on Windows 7 64 bit, and I encountered the following error:

lwjgl.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform

I could not find a decent solution easily, but I fixed it by doing this:
Get the latest source of Slick
Download the latest LJWGL version
– Use the latest LJWGL JAR and DLL files and put them into the latest source code of Slick
– Run “ant dist” of Slick

Use the newly generated JAR of Slick and the new DLL files of LJWGL together, and you’re all set for 32 AND 64 bit!

If you just want to download everything (DLL and JAR’s), I’ve made a little archive for Windows users. It is unofficial though, no support given!. Grab it from here.

17 comments

  1. Your link to download all the DLL’s and JAR’s isn’t work at all, please fix it!

    I clicked on the link to take me to the lastest Slick but the connection is unsecured and don’t feel like risking it.

  2. Ok, thank you kindly. Is this the newly created thing needed to work? Because I decide to go into the site to get the “latest source of Slick” and not sure what to download and I’m not sure about where you run “ant dist” thing since both sites don’t seem to have the file.

    1. If you go to the website of Slick, you will find that the latest version you download is actually an old version. If you use the JAR/natives I provide, you will have the latest LJWGL version and latest Slick version (created from a freshly checked-out source code). The ZIP file is not a substitute for Slick, but it does work for 64 bit.

  3. Thank you so much! I already had all of the LWJGL dll’s and jars but thank you for the solution. I was so close to finding another library to use.

  4. Wow, nice. I tried to help my girlfriend to get Slick running, she was trying for hours. Came across your site and voilรก – everything works fine.

    Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *