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

This widget could not be displayed.

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.

This widget could not be displayed.

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

And the question is ?....

This widget could not be displayed.

Yes? According to that page x86_64 is supported..

This widget could not be displayed.

What to do?

This widget could not be displayed.

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

This widget could not be displayed.

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 Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

35 views 0 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