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

1 vote
Accepted answer

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..

What to do?

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 votes

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
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

60 views 4 0
View post

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