Bamboo agent 32 bit wrapper and 64 bit java

I'm bringing up my 18th remote agent and I am hitting something I haven't seen.

INFO | jvm 5 | 2016/04/07 10:41:21 | WARNING - Unable to load the Wrapper's native library 'libwrapper.so'.
INFO | jvm 5 | 2016/04/07 10:41:21 | The file is located on the path at the following location but
INFO | jvm 5 | 2016/04/07 10:41:21 | could not be loaded:
INFO | jvm 5 | 2016/04/07 10:41:21 | XXXXXXX/bin/../lib/libwrapper.so
INFO | jvm 5 | 2016/04/07 10:41:21 | Please verify that the fileis readable by the current user
INFO | jvm 5 | 2016/04/07 10:41:21 | and that the file has not been corrupted in any way.
INFO | jvm 5 | 2016/04/07 10:41:21 | One common cause of this problem is running a 32-bit version
INFO | jvm 5 | 2016/04/07 10:41:21 | of the Wrapper with a 64-bit version of Java, or vica versa.
INFO | jvm 5 | 2016/04/07 10:41:21 | This is a 32-bit JVM.

IT did put a 64 bit Java on this machine.  Is there a 64 bit JVM I can download?  Or do I need a different Java?

5 answers

Bamboo 5.9.7, btw.

INFO | jvm 5 | 2016/04/07 10:41:21 | Reported cause:
INFO | jvm 5 | 2016/04/07 10:41:21 | XXXXXXX/lib/libwrapper.so: XXXXXXX/lib/libwrapper.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

0 vote

Hi Mark,

Can you please ensure that you have Java 64bit installed in the machine in which you're trying to install the remote agent? Also, please configure JAVA_HOME accordingly.

You can check the Java settings by running the following commands:

  • echo %JAVA_HOME% - if on Windows
  • echo $JAVA_HOME - if on Linux / Mac
  • java -version

I hope this helps!

]$ java -d32
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.

$ echo $JAVA_HOME
/common/local/jre1.7.0_75

I deleted the bamboo home and started over.  All I did was change to use a different URL for the agentServer.  Go figure.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,786 views 0 6
Read article

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