My java installation problem
dear friends.
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. |
Welcome to LQ.
This is the standard procedure to set up jre / jdk. The commands are : 1) su 2) /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.6.0_24/bin/java 2 3) /usr/sbin/alternatives --config java |
thanks for the information. I am new to Linux although i have certification in sun solaris. i quit find Linux and sun solaris quite apart.
---------- Post added 03-12-11 at 05:16 PM ---------- thanks for the information. I am new to Linux although i have certification in sun solaris. i quit find Linux and sun solaris quite apart. |
All times are GMT -5. The time now is 12:38 PM. |