this problem makes me crazy.
I downloaded jdk 1.6 and 1.7 from Oracle Website, and extract it in
/usr/java.
and add some path information in /etc/profile.
export JAVA_HOME="/usr/java/jdk1.7"
PATH="$JAVA_HOME/bin:$PATH"
and do source command.
source /etc/profile
finally when I do java -version it 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, but it was same.
(of course, I dod chmod thing and others..)
Thanks a lot for reading, and your advices in advance.
I solved this problem.
OMG, I downloaded file for wrongOS.T^T
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.