Once you have Eclipse installed, start it up. If a window pops up telling you to pick a location for your workbench, pick a location, and then continue on. When Eclipse opens, a blank window should appear. In the top right corner of eclipse, it should say "Open Workbench". Click on that.
Now that you are at your workbench, you can create a new Java Project by going to File > New > Java Project. The project wizard should pop up. Name your project and click "Finish".
For my tutorials, I will be using a framework to make things easier to create a game. We will be creating a 2D game using the Slick2D framework. You can download Slick2D by going to slick.ninjacave.com. Click "Download".
Go back to Eclipse, and right click on your project in the left menu. Go down to "Properties". In the window that pops up, click on the "Java Build Path" in the left menu. Now click on the "Libraries" tab. To the right should be a "Add External" button. Click on that. Now, in the prompt window that comes up, go to where you put Slick2D. Open it up and look for "lib". In lib, click on Slick.jar. Click "Open". Slick2D is a framework based on the LWJGL framework. Therefor, you need LWJGL. Go to lwjgl.org, and download it. Now, go back to to Eclipse, click on "Add External", then find where you downloaded LWJGL. Open it, and look for "lib". Open lib, and Ctrl-Click lwjgl.jar and lwjgl_util.jar. Now click "Open".
In the Libraries tab, look for the lwjgl.jar and lwjgl_util.jar. Open them by going to the left of there names and clicking the little arrow. It should drop down a list. Click on "Native Location", then click on the "Edit" button to the right. Look for where you downloaded LWJGL. Look for the "Natives" folder. In the natives, click on you operating system and then click "Open." Do this for both lwjgl.jar, and lwjgl_util.jar.
Eclipse is now set up to follow my tutorials!
See you in the next tutorial!
- Bryce