Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Иван_Пузырёв October 9, 2019

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
Иван_Пузырёв October 9, 2019

@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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 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

Иван_Пузырёв October 9, 2019

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

0 votes
Иван_Пузырёв October 9, 2019

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 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
AUG Leaders

Atlassian Community Events