I've tried to install jdk7 on REHL6, When i checked if it was installed without any error using java -version
command, i got the following error
[root@localhost ~]# java -version
-bash: /usr/bin/java: cannot execute binary file
[root@localhost ~]#
i've followed this tutorial to do it.
have you ever get this issue !!