Now set my path successfully. Even i was able to see it after restart. BTW. I was not able to see any file called .profile in my home directory. Its all empty. Then i went to /etc/profile and added. Its working fine.
It is OK if you want this JAVA_HOME path for all users. If you want to configure for the particular user add it in your shell profile (.bashrc or .kshrc file)