Install Java through command prompt so that it can generate necessary log files to troubleshoot the issue.
Go to java.(com) and click on the Free Java Download button.
Click on the Save button and save Java software on the Desktop
Verify that Java software is saved on the desktop.
Open Windows Command Prompt window.
Windows XP: Click Start → Run → Type: cmd
Windows Vista and Windows 7: Click Start → Type: cmd in the Start Search field.
cd (for example Downloads or Desktop etc.)
IRun the installer and follow onscreen instructions.