OpenJDK 64-Bit Server VM is an unsupported JVM.

Morten Andersen October 9, 2012

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
Answer accepted
Morten Andersen October 9, 2012

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

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2012

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

1 vote
pnelsonsr February 25, 2013

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...
0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2012

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

You've fixed this by swapping to a supported JVM

0 votes
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2012

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
Morten Andersen October 9, 2012

What to do?

0 votes
Morten Andersen October 9, 2012

Yes? According to that page x86_64 is supported..

0 votes
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2012

And the question is ?....

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2012

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events