Wuppy’s Minecraft Forge Modding Tutorials for 1.7: Set up Part 1: JDK & Eclipse

Setting up Minecraft Forge for Minecraft 1.7 requires you to do quite a lot of things. In the next few tutorials I will explain everything you will have to do.

Before you can start modding there are some programs you require to have on your pc. The first one is the Java SDK. Download the Java SDK over here.

Click the big Java button in the middle left. This will take you to a new screen where you have to select which version of Java you want to download. First accept the license agreement and then navigate to just below that. Select the right version of Java SE Development Kit 7u45 for your pc. If you have a 32 bit pc select the x86 version. If you don’t know if you have 32 or 64 bit do one of the following things based on your OS.

Windows: Open the start window and right click on computer and select properties. Your system type should be visible somewhere just under your rating.

Linux: Run the uname -m command.

Once you have downloaded the right file run it and it will install for you. However, it will not install correctly. When you have installed it try running javac in the command prompt which will likely return that it doesn’t know the command. To fix this you will have to add an environment variable to your system.

To add an environment variable right click on Computer and select Properties. Then select Advanced system settings on the left which will open up a new window. Next click the Environment Variables… button at the bottom which will open up another new window in which you will have to write a few things. What you have to do is click on the New… button at the top. For the Variable name you have to use PATH. For the variable value you need to add the location where you installed Java. If you didn’t change this location and let it install at the normal place that should be something similar to this: C:\Program Files\Java\jdk1.7.0_21\bin. Hit Ok, Ok again and finally hit Ok to exit out all of the windows and save what you just changed.

Now open up a new command prompt and run the command javac again. This time it should print out a bunch of lines with other commands on there which means it has installed correctly.

After you have installed the JDK you will have to get Eclipse. You can download Eclipse here. The version of Eclipse you want is the Eclipse IDE for Java EE Developers. You can select the right OS on the top right. Also make sure you get the right bit version.

When you have downloaded the file you will have a zip file containing all the files you will need. Eclipse doesn’t have an installer and you can simply extract this and use it. Find a good folder to store the files and Eclipse will work for you.

In the next tutorial I will show you how to set up Forge. You can either do the basic or the advanced setup. The advanced setup is a little bit more work, but much more useful when you are making multiple mods, like I do.


For a more detailed explanation and much more, check out my book Sams Teach Yourself Mod Development for Minecraft in 24 Hours.

STY Minecraft Mod Development Book

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">