OpenJDK 64-Bit Server VM is an unsupported JVM.

Hi

I am trying to install the latest version of Stash on a Centos 6 server.

java -version:

OpenJDK Runtime Environment (rhel-2.2.1.el6_3.3-x86_64)

OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)

When I go to localhost:7990 I get this error message:

The following problem occurred which prevents Atlassian Stash from starting correctly

OpenJDK 64-Bit Server VM is an unsupported JVM

Best regards,

Morten

8 answers

1 accepted

I solved this issue by using the jre shipped with JIRA.

JAVA_HOME="/opt/atlassian/jira/jre"

Yes, that's a supported JVM, unlike the OpenJDK you were using.

On Fedora 18 I did the following:

-Downloaded Java from oracle here (I selected jdk-7u15-linux-i586.rpm)

-Installed this rpm with yum with:

yum install ./jdk-7u15-linux-i586.rpm

-Set JAVA_HOME variable in ~/.bash_profile to:

export JAVA_HOME=/usr/java/latest

Then stash started normally...

And the question is ?....

Yes? According to that page x86_64 is supported..

Please use an Oracle JDK which is supported by the product. Your Linux box can accomodate more than 1 JDK.

Please check this page. https://confluence.atlassian.com/display/STASH/Supported+platforms

0 vote

No, it's not. There's a difference between OpenJDK and Oracle Java.

You've fixed this by swapping to a supported JVM

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 2 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

21 views 0 2
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