Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,127
Community Members
 
Community Events
168
Community Groups

Wrong path to JAVA_HOME or JRE_HOME /bin/bin/java: not found

I am trying to install Bamboo and am having problems starting:

sudo

./start-bamboo.sh -fg

Server startup logs are located in /opt/atlassian/atlassian-bamboo-6.10.3/bin/logs/catalina.out

Bamboo Server Edition
Version : 6.10.3


If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo

Using CATALINA_BASE: /opt/atlassian/atlassian-bamboo-6.10.3
Using CATALINA_HOME: /opt/atlassian/atlassian-bamboo-6.10.3
Using CATALINA_TMPDIR: /opt/atlassian/atlassian-bamboo-6.10.3/temp
Using JRE_HOME: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin
Using CLASSPATH: /opt/atlassian/atlassian-bamboo-6.10.3/bin/bootstrap.jar:/opt/atlassian/atlassian-bamboo-6.10.3/bin/tomcat-juli.jar
/opt/atlassian/atlassian-bamboo-6.10.3/bin/catalina.sh: 1: exec: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/bin/java: not found

I can’t understand why the start script adds bin / java to the JAVA_HOME path again.

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/bin/java: not found

 

3 answers

1 accepted

0 votes
Answer accepted

@Alexis Robert , 

Thank you, this guide is not complete enough. I did the same as the guide for Jira, and I did it.

I skipped some steps that are described in the guide for Jira, but they are not in the guide for Bamboo

1 vote
Alexis Robert Community Leader Oct 09, 2019

Hi @Иван_Пузырёв , 

 

you should configure your JAVA_HOME to point to the main folder of the JDK, as the Bamboo script will automatically add the "/bin/java" to JAVA_HOME. 

 

Let me know if you have any questions, 

 

--Alexis

Hi, thanks for the feedback.

What does this mean "main folder"?

echo $JAVA_HOME
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin
echo $JRE_HOME
/usr/lib/jvm/java-1.11.0-openjdk-amd64

I think that in all environment variables the correct values ​​are indicated

I get it. The problems were really with setting user paths for various users, including root.
Is there a guide for setting up a user for Bamboo and permissions to run?

Alexis Robert Community Leader Oct 09, 2019

Hi @Иван_Пузырёв , 

 

there is a detailed guide here : https://confluence.atlassian.com/bamboo/installing-bamboo-on-linux-289276792.html.

It should give you all the information on how to install Bamboo.

Let me know if you have any questions, 

 

--Alexis

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events