hi anil,
In jdk for unix the java,javac.appletviewer etc in your JAVA_HOME/bin dirs
are not programs but symbolic links to a wrapper script named .java_wrapper
in the JAVA_HOME/bin dir.the real executables and shared libs are in the
respective native or green thread dirs.So what you should be doing is add
/usr/local/jdk1.2.2/bin to your path and export
JAVA_HOME=/usr/local/jdk1.2.2 in yout /etc/profile or ~/.bash_profile.
Now you can type java from any bash-shell prompt to run java.
regards
sanjeev
--
---------------------------------------------
Sanjeev V Kumar
Systems Administrator
The Quantum Institute
Chennai
---------------------------------------------
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help