cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Not able to find JAVA after installation

Former Member
0 Likes
2,235

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

    1. 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

View Entire Topic
Former Member
0 Likes

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