Thanks for your reply.
From the link given by you, what I have understood is AIX is one of such unix boxes where setiing in .profile will not help much.
But there is a workaround given in the link. I am quoting those words -
“Command Central uses non-interactive shell sessions for all remote operations (including the check for java). Normally the solution is to add java to PATH for non-interactive shell sessions. NOTE that some shells may not support configuring variables via “.profile” for non-interactive sessions. In that case the easiest workaround would be to place a link to “java” in one of the “bin” directories, for example: ln –s $JAVA_HOME/bin/java /usr/bin”
Could you please tell me apart from /usr/bin and /bin, is there any other bin directories which is user specific?