Step 1 - Learn Java
It is HIGHLY RECCOMENDED that you learn Java before attempting to make a mod. Even 2 hours learning about it before trying to make a mod help immeasurably. You can learn about Java many ways. Here are some Java tutorials I reccomend:
I know that many of you won’t spend any time trying to learn Java before you start modding (or probably even read this page at all), so I’ve tried to mix definitions of relevant concepts into my tutorials. This is not a substitute for learning Java though!
It is also reccomended, however not neccesary, that you know about Java Reflection and Java Streams
Step 2 - Install the latest Java 8 JDK (Java Development Kit)
Install the latest Java 8 JDK from here.
Download the 64 bit (x64) version, not the 32 bit (x86) version!!!
Step 3 - Install an IDE (Integrated Development Environment)
If you still want to use Eclipse, you can download it from here.
It is also possible to use Visual Studio to write mods, but this will not be touched on in these tutorials.
Step 4 - Follow the Tutorial
Follow the appropriate setup tutorial from here