Linux-confluence installer (.bin file) error : Syntax error: "(" unexpected

I download the confluence installer, atlassian-confluence-4.2.13-x64.bin,

I changed it to executable with >chmod 777 atlassian-confluence-4.2.13-x64.bin,

and when I run it with > ./atlassian-confluence-4.2.13-x64.bin, I get the following error:

Unpacking JRE ...
Starting Installer ...
/mnt/archive/atlassian-confluence-4.2.13-x64.bin.1646.dir/jre/bin/java: 1: Syntax error: "(" unexpected

What is wrong, and How can I fix it?

Thanks for answers

4 answers

I'm seeing the same problem with the latest 4.3.3 build on ubuntu: /home/ubuntu/atlassian-confluence-4.3.3-x64.bin.5105.dir/jre/bin/java: 1: /home/ubuntu/atlassian-confluence-4.3.3-x64.bin.5105.dir/jre/bin/java: Syntax error: "(" unexpected

Hi Bahar,

To be honest with you, you're doing everything right.
Can you try to download Confluence 4.2.13 again from our website: ? That file could be corrupt.

I hope this helps.



This is where I downloaded confluence :)

Also, I installed confluence using the same bin file on a different machine.

Hi Bahar,

As an alternative approach I would suggest you to try to install Confluence using the tar.gz file, that you can download from this link below:

And then try to follow these instructions to install, it's easy as the installer, no worries:

If you still experience problems with your install after this attempt, please feel free to raise a support ticket at our and we will be glad to take a look at this problem with you in order to solve it.

I hope this helps.



Once i had this error. I found out i downloaded the installer for the wrong architecure. Check if the installer matches your hosts arch. 32/64 bit

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

927 views 47 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you