My java installation problem
I installed my jdk tools for Linux on Red hat in Desktop folder. The Java did n't work as java -version failed giving response java command not found.
I did make changes in .bash_profile for the path and java_home as suggested by some article on the same web site.Nothing changed.
Again as per instruction i changed the extracted folder to /usr/local folder as installing the java.
i did link with /bin/java to /usr/local/javainstalled/bin/java and the java -version giving result java run time environment 1.6.0_24-b07 .
My question is what made wrong to my former installation. Is it okay now.