Update, 20.10.2016 — I updated this article because Atlassian has updated Stash and renamed it to Bitbucket Server. The first part
is the old article about Atlassion Stash and the second part includes the latest Bitbucket Server including ElasticSearch.
Today, another Java Update has been released, so I installed the new version und removed the old one.
The “problem” was, as with the last updates, that I had to tell my Stash installation where to find
the new Java version. I opened the Windows registry and updated the following three registry keys: