bash: /usr/bin/java: cannot execute binary file … user error in selecting architecture

I was performing an Ubuntu Oracle Java installation. Everything looked good. However I kept getting:
bash: /usr/bin/java: cannot execute binary file

Wasted significant time until I realized that my system needed the i586 version jdk-7u55-linux-i586.tar.gz and not jdk-7u55-linux-x64.tar.gz

That’s all it was.