I am unable to run java from jdk.
it says "cannot execute binary file"
I downloaded the jdk again freshly but the problem still persists.
All files have execution permission.
Both OS and JDK are 64bit.
Please help me out.
[XXXXX@YYYYYY bin]$ pwd
/home/XXXXX/apache-tomcat-6.0.18/jdk1.5.0_14/bin
[XXXXX@YYYYYY bin]$ java
bash: /home/XXXXX/java1.5/bin/java: cannot execute binary file