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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 10 hours ago in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

27 views 3 4
Join discussion

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