Hi Chandresh,
I tried to follow your approach, but it did not work for me.
Below steps helped to resolve the JAVA error -
1. Uninstall all JAVA setups/plug-ins already installed on your machines
2. Download & Install Java 7 Update 21
3. Install HANA client
4. Install HANA studio
Best Regards,
Tanmeya