Ok, since you seem to be running into a few problems, I'll write you a quick tutorial.
I presume that you already have Java JDK on your system? If not, you need to download it. Go to this link:
http://www.oracle.com/technetwork/java/ ... 80260.htmlScroll down the page until you see a little radio button. Select it to accept the licence agreement, and the downloads will be unlocked. Now, you want to download whichever version matches up to your OS. For example, if you're on Windows x32, grab a x32 or x86 version. If you're on Windows x64, grab a x64 version.
Once it's downloaded, install it. Then, open up your windows explorer, go to your computer, right-click it, and select properties. Then, select Advanced System Setting. Next, select Environment Variables. The top box is you (user) variables. Select New. Now, type this in.
Variable Name: %JAVA_HOME%
Variable Value: C:\Program Files\Java\jdk1.7.0_67
That will depend on where you installed the Java JDK, and also what version you have. JDK 8 is out, but I prefer to use JDK 7 as it's more stable for modding.
Now, under the System variables box (the second box down), you want to scroll down until you see the Path variable. Highlight it, and select Edit. In the Variable Value box, you want to add something to the end of it. To do this, go right along to the very end of the value, and type in this:
;C:\Program Files\Java\jdk1.7.0_67\bin
Again, this is you Java JDK installation directory, and version. You need to put the semi-colon at the beginning or you'll destroy your entire Path variable. Not good. You also need to put the \bin at the end this time, because you want to read the files from there.
Ok, go to this link:
http://files.minecraftforge.netNext to the 1.7.10 recommended version, go along until you see (scr). Click (scr), and skip the AdFly link, and you'll get a .zip folder. I'd recommend making a folder on your desktop (or somewhere else which is easily accessible) to put all of the mods you make into. Drag the downloaded .zip file into that folder, and extract it. You can now delete the old ..zip file, you just need the folder. Open it up, and you should see a few different folders, and something called gradle.bat. Don't run it, this is very important! You need to type the command yourself. To do that, shift + right-click the background of the folder where the gradle.bat and all of the other stuff is, and select Open Command Window Here. This will open up a command prompt. Inside of it, simply type:
gradlew setupDecompWorkspace eclipse --refresh-dependencies
You need to use gradlew because you won't have gradle installed on your system (not that it matters), but basically this command will download all of the stuff that you need to start modding Minecraft. This could take up to 20 minutes to complete, so just be patient. If you ever make another mod, however, it won't need to download all of the stuff again, so this will only take two minutes the next time that you want to do it.
Now, open up your IDE (which should be eclipse, because that's what we set it up for). If you don't have an IDE (Integrated Development Environment), then go to this link:
https://www.eclipse.org/downloads/Use the dropdown menu to select your OS. Don't download the Eclipse Standard version, you need to make sure that you grab the Eclipse IDE for Java EE Developers package. This will include everything that you need to work with Java.
Now, open up Eclipse, and select your workspace. This should be the new folders that you just downloaded. Go to the folder that has your new mod in it, and select the eclipse folder. Make sure that the eclipse folder is selected, or this will not work. Then, hit ok, and hit ok again to open up Eclipse. You are now ready to start writing Java!
I hope that this works for you,
-EsvDefcon.