on ‎2010 Sep 20 1:18 PM
Dear sir,
I would like to install ECC.6 on Red Hat Enterprises Linux 5.0 server for test purpose. I have already completed RHEL installation and perform all the recommendation written in SAP NOTES 171356, 1048303 etc.
I have installed JAVA as per the instructions given in the following links.
http://java.sun.com/j2se/1.4.2/install-linux.html
http://www.java.com/en/download/help/linux_install.xml
http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html#INSTALL_SDK
I am able to install JAVA on my Linux server but when I try to check whether the installation is successful or not I tried following commands, with the unexpected result.
#which java
/usr/bin/java
Java -fullversion*
gives details of by default installed java.
Can anybody help me or guide me to install java correctly on my Linux server?
Any other details if you like I will provide.
Regards
Ahsan
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Ahsan,
# Java -fullversion
gives details of by default installed java.I believe you are trying to say that this command returns the version of Java installed by default. You may need to use the "alternatives" system inorder for your environment to use a specific java installation. (Install via rpm, right?) Check what the table of "/usr/sbin/alternatives --config java" contains.
*Is /usr/bin/java a symbolic link to another executable?
ls -l /usr/bin/java
*What does the following return?
echo $JAVA_HOME
-zach
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.