Java: cannot execute binary file

java: cannot execute binary file
root cause:
you have a 32 bit OS that you are trying to run a 64 bit build.
If your OS was 64 bit, you would see x86_64 instead of i686.

Other information:
If you want to see OS info, you can try following command.
1.# uname -a 
[oracle@cdcXXX2 bin]$ uname -a
Linux cdXXX62.##.oracle.### 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
So,This is 64 bit OS

2.#uname -a 
[oracle@cdcXXX1 bin]$ uname -a
Linux cdcjp61.cn.oracle.com 2.6.18-128.el5PAE #1 SMP Wed Dec 17 12:02:33 EST 2008 i686 i686 i386 GNU/Linux
So,This is 32 bit OS

posted @ 2014-02-27 19:28  Alice Liu(刘志红)  阅读(1147)  评论(0编辑  收藏  举报