How to install jdk 1.7 on CentOS 6.4 -
this problem makes me crazy.
i downloaded jdk 1.6 , 1.7 oracle website, , extract in
/usr/java.
and add path information in /etc/profile.
export java_home="/usr/java/jdk1.7" path="$java_home/bin:$path"
and source command.
source /etc/profile
finally when java -version send below message back.
bash: /usr/bin/java: /lib/ld-linux.so.2: bad elf interpreter: no such file or directory
i've been tried 1.6 also, same.
(of course, dod chmod thing , others..)
thanks lot reading, , advices in advance.
i solved problem.
omg, downloaded file wrongos.t^t