In order to Disable the Next generation JRE :
Go to control panel -->select java and open .Click on Advanced TAB and select java plug-in and uncheck the "Enable the next generation java plug-in."
Click on start and open Control Panel.
Troubleshooting and FAQs_Figure 18:Uncheck_JRE_ControlPanel.
Open java and select Advanced TAB.
Troubleshooting and FAQs_Figure 19:Uncheck_JRE_Advanced.
Select Advanced TAB and click on java plug-in
Troubleshooting and FAQs_Figure 20:Uncheck_JRE_Java Plug-in.
Remove two file shown below :
(For OS windows7):
( For OS Ubuntu ):
In ubuntu these files are hidden so first unhide them by presssing ctrl+h then remove them.