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,
--Alexis
This is definitely because you're not using the right biinary for your server.
Can you check what's the output of "uname -a" on your server ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you download the Linux installer (or tar.gz archive) from https://www.atlassian.com/software/confluence/download ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexis Robert, does Confluence only support version 8 of AdoptOpenJDK? Also, I tried all versions from 8 to 13 and no one works with Confluence.
The strange thing is that the Confluence 7.0.3 can run on OpenJDK, which is not said to be supported by Confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexis Robert , I think the issue is that my VM is x86-32bit system, but there is no corresponding AdoptOpenJDK version support it. I will create a X64 system to run the Confluence on AdoptOpenJDK. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @kuang5 ,
yes you're right, that must be the issue. Let me know if switching to 64 bits fixes the issue for you !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.