Atlassian SDK and JIRA required JDK mismatch

This question is in reference to Atlassian Developer Documentation: Run your plugin in the container

 

atlas-run --product jira --version 6.1

JIRA 6.1 requires Java 1.7 while the newest Atlassian SDK can be run only under JDK 1.8

When I try to execute this command under JDK 1.8, initializing JIRA will fail due to exception:

java.lang.IllegalStateException: Cannot create ConcurrentHashMap - neither JDK 1.5 nor backport-concurrent available on the classpath

On the other hand, under JDK 1.7 the Atlassian SDK will rise an error.

How can I get around that problem?

 

Kind Regards,

Piotr

2 answers

0 vote

The Atlassian sdk is using maven so if you set JAVA_HOME it should work. That said - JIRA 6.1 is eol:d...

0 vote

You can run an older version of JIRA with the latest Atlassian SDK version installed and Java 1.7 by specifying an older maven-plugin-version (AMPS):

atlas-run-standalone --product jira --version 6.1 --maven-plugin-version 6.1.2 --data-version 6.1

This works since the Maven AMPS plugin version 6.1.2 has been compiled with an older version of Java.

The options are available for atlas-run as well (see "atlas-run --help").

See https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-windows/versions for versions and compatibility.

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 Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

409 views 79 11
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