I was attempting an installation of Confluence 5.4.2 x64 from the binary file that can be executed and it failed like below;
Unpacking JRE …
Starting Installer …
./atlassian-confluence-5.4.2-x64.bin: 466: /home/username/atlassian-confluence-5.4.2-x64.bin.17671.dir/jre/bin/java: not found
I’ve seen this problem before with another product, so I knew immediately what the problem is. It’s due to executing the x64 version on a 32bit Linux.
Go download the 32bit version of the file and execute it. It will work.