Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

0 votes
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

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

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

Events near you