I am installing stash on a Windows 2008 R2 server with mysql 5.1. I downloaded and installed the Java SE Development Kit 7 into c: Java. The only directory it creates in c: java is a jre7. I continued through the installation instructions and when i run bin start-stash.bat it outputs the following:

Using STASH_HOME: c: StashHome

The JAVA_HOME environment variable is not defined correctly

This environment variable is needed to run this program

NB: JAVA_HOME should point to a JDK not a JRE


Started Atlassian Stash at:


If you encounter issues starting or stopping Atlassian Stash, please see the Tro

ubleshooting guide at:


Whe I go to http://localhost:7990/ it says it cannot display the page.

1 answer

0 votes
Yilin Mo Atlassian Team Nov 19, 2012

Maybe you need to set the JAVA_HOME variable in the system and also make sure that both stash and java are either on x86 or x64.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

184 views 3 5
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