Slick java library and 64 bit

Posted: March 26, 2011 in Game Development
Tags: , ,

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.

About these ads
Comments
  1. PleaseFixLink says:

    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. PleaseFixLink says:

    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.

    • stefanhendriks says:

      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. Tempelchat says:

    Thank you for providing a 64x version of slick! It is very helpful and works perfectly.

  4. hetzge says:

    A very big thanks for this ;)

  5. joe says:

    Thanks a lot. I was close to desperation ;-) .

  6. NetherBrain says:

    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.

  7. Sam says:

    You saved my day. I tried to replace only the .dll’s and just got rly angry about Slick and now – it works. Thankyou! <3

  8. Yoh says:

    Thanks, I’am going to sleep tonight.

  9. Philipp says:

    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!

  10. Laurie Boyes says:

    Whoa, thanks man! Well over a year later and you’re still saving people hours of agony.

  11. J says:

    This post helped me infinitely! Thank you :D

  12. [...] Slick 64 bit and Linux Posted: October 1, 2012 in Community Tags: 64 bit, linux, max os x, slick, ubuntu 0 Recently I wanted to run Slick on linux in a 64 bits environment. I got it working on Windows a while ago but I forgot to include natives for Linux and Mac OS X. [...]

  13. Sudheera says:

    thanks. you saved me too.. :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s