Java is my favorite language. Why? Because it is universal, objective, multithreaded, portable programming language, which works on on multiple platforms. To install Java to developing application, You must download Java environment.
So go to www.oracle.com website( http://www.oracle.com/technetwork/java/javase/downloads/index.html ), go to Download tab and click on Download button last version Java: Java Platform (JDK) 7u51.
Select Accept License Agreement and click on Java link for your platform.
Install Java platform clicking on Next and Finish button.
Next step is in Windows OS set path to bin catalogue in jdk. Open Control Panel and click on System and Select System and Security. In this window click on Advanced System Settings. In Advanced System Settings window click on Environment Variables. In System Variables select Path and click on Edit button. Add on end path for bin folder. In my system it is C:\Program Files\Java\jdk1.7.0_51\bin. Click on OK button in all opened windows.
Test Java. Open Command Line window and write in it:
You see information looks like it:
On www.oracle.com website in Documentation tab You find either documentation for Java.