Skip to content
aschearer edited this page Sep 13, 2010 · 6 revisions

This will walk you through setting up Slick as a project in Eclipse. It is the recommended way to set up your development environment for Shade. If you want to simply run Slick please see the general how to build shade instructions.

Get Slick

  1. Install Subclipse if you haven’t already
  2. Create a new SVN project. Location: https://bob.newdawnsoftware.com/repos/slick/trunk/Slick
  3. Select the repository then hit Finish

Configure Slick

  1. In Shade’s project directory run ant setup
  2. In Eclipse, right click the Slick project and select “Build Path…” > “Configure Build Path”
  3. Update the JRE with your system’s default.
  4. Click the “Libraries” tab, expand lwjgl.jar and edit “Native library location”
  5. Choose Workspace then navigate to /lib/natives/
  6. Hit OK, OK, OK

At this point you should not see any errors with Slick. You’re ready to set up Shade!

Windows folk…

For all of you on Windows ant isn’t included by default. I highly encourage you to install apache ant so that you can leverage the included ant build file. This will automate a range of tasks including

  1. Setting up the environment
  2. Running Shade
  3. Distributing Shade as a webstart

For those of you who still aren’t convinced please follow these instructions to get Slick set up and running. See section four to set up Slick’s native libraries.