I did the following steps but java does not seem to be working for me, do I need to restart my system if yes then why?
1. Right click My Computer->Advence
Not necessary. Reopen a command prompt (if any) that runs the java process and type java -version to check if it installed successfully.
java -version