Can not execute binary file

刚刚想将JDK换成6.0,结果从别的机器上复制过去的Java运行时一执行就报告Can not execute binary file。百思不得其解,后来用file java命令一看,才发现这台机器上原来的os是32位的,复制过来的java程序是64位的。