It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Build error with Eclipse. Missing artifact com.sun:tools:jar1.5.0


I'm following the guilde to get my skeleton plugin working and whenever I run atlas-create-jira-plugin I get this error.

[INFO] Failed to resolve artifact.

1> com.sun:tools:jar:1.5.0

I've set eclipse to run against the JDK instead of the JRE already, I've tried replacing the tools-1.5.0 inside \repository\com\sun\tools\1.5.0 with the one supplied in the JDK, I ran the command given and it was successful but it seems to have installed it to \.m2\repository\com\sun\tools\1.5.0

Any ideas what else to try?

1 answer

1 accepted

2 votes
Answer accepted
Joe Clark Atlassian Team Oct 04, 2011

You need to make sure that maven and the atlassian plugin sdk are looking up the correct JDK installed on your system (in addition to eclipse), rather than a JRE.

What is your $JAVA_HOME environment variable pointing to? Make sure it's set to a valid JDK directory.

That was it. I changed the eclipse settings to use the JDK but didn't think to check the JAVA_HOME variable.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

22 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you