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 vote
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 Join to answer
Community showcase
Jason Wong
Published 2 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

16 views 1 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot