I have installed Java for RedHat Linux 5 ( 64-bit version) using online guide. After the installation, if run the below command to check java, it is giving the
error: "bash: /usr/bin/java: cannot execute binary file"
Command used: #java -version
My installation process didnt throw any errors.
Please help me in identifying the problem.