Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/bin/sh: /usr/jdk64/jdk1.7.0_45/bin/java: cannot execute binary file

Tags:

java

ambari

I installed Ambari server successfully, But when I try to start that server it says,

/bin/sh: /usr/jdk64/jdk1.7.0_45/bin/java: cannot execute binary file

So could you please help me to resolve this.

Thank You.

like image 501
Madura Dissanayake Avatar asked Sep 15 '14 05:09

Madura Dissanayake


1 Answers

It might be wrong architecture. You might be running java x64 on x32 machine.

As @G.S mentioned in comments the same problem was disscussed at superuser

like image 103
ponomandr Avatar answered Oct 12 '22 20:10

ponomandr