Stash does not start - No such file or directory

Troubleshooting Installation

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community


The following appears in catalina.out without any other errors:

/opt/atlassian/stash/3.0.4/bin/ line 385: /usr/lib/jvm/java-1.7.0-openjdk- No such file or directory


Stash was installed with automated installer which creates a file called This file is responsible for setting the JAVA_HOME environment variable so any updates to JAVA_HOME outside of this file will not be recognized.


Comment out the JAVA_HOME definition in <Stash installation directory>/bin/ and restart Stash.


Update <Stash installation directory>/bin/ to reflect the new Java location.

Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.