Hi all, I set the Confluence to run on AdoptOpenJDK, however, it shows error message "Exec format error". Please see screenshot below. The Confluence version is 7.0.3 and the AdoptOpenJDK version is 13.0.1. I manually installed Confluence on a server.
According the version support by Confluence, AdoptOpenJDK supports AdoptOpenJDK since version 6.13.2. Please see screenshot below. It is strange that the test fails. Could anyone advise if I did anything wrong?
Hi @kuang5 ,
looks like you're getting this error because you're using the arm version, for Linux the correct version is this one : https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u232b09.tar.gz
Let me know if this works,
Another basic question is that I want to conform with you that the way I did to switch from OracleJDK to AdoptOpenJDK by changing the value of JAVA_HOME (JRE_HOME is not set) is correct, right? Should I delete all other JAVA libraries in case they will affect Confluence choosing the right JAVA library?
Hi @kuang5 ,
Confluence 7.0.3 supports AdoptOpenJDK, so there's no problem here. Also, only AdoptOpenJDK 8 or 11 is supported by Confluence, no need to try other versions.
I would suggest that you remove the old Oracle JDK, just in case.
For your issue, there's definitely something wrong with the version of Confluence you're using as the error clearly says "this is not the correct OS to run this". So, I would stick with a Confluence version where you don't have this error, 7.0.3 is fine for example.
It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events