question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Try to include in maven, Missing artifact com.sun.java:tools:jar:1.8.0_20

See original GitHub issue
 <dependency>
     <groupId>net.openhft</groupId>
     <artifactId>chronicle-map</artifactId>
     <version>1.0.2</version>
   </dependency>

Using JDK 1.7

From the 1.8 in the tools, can I assume this requires JDK 1.8?

Thanks?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
fancellucommented, Oct 3, 2014

Sounds like issue already seen in google groups

<exclusions>
                <exclusion>
                    <groupId>com.sun.java</groupId>
                    <artifactId>tools</artifactId>
                </exclusion>
            </exclusions>

https://groups.google.com/forum/#!topic/java-chronicle/YBkf2fx6fAQ

Fixed it for me

0reactions
charjcommented, Nov 27, 2019

Facing the same issue on ubuntu with intellij

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing artifact com.sun:tools:jar - java - Stack Overflow
sun :tools:jar in all the pom.xml files. After a couple hours of searching forums I have tried: Installing the latest Java 1.6.029 Changing...
Read more >
eclipse : Missing artifact com.sun:tools:jar:1.8 · Issue #160
i got java 8 sdk i cloned project. i tried many things adding the jar manualy on some places. doesn't seem to work....
Read more >
Getting Maven build error, 'Could not find artifact com.sun ...
jar library to build the application. Maven cannot find the tools.jar library because it is not included in JREs. JDK is a requirement...
Read more >
mvn install failing due to dependency com.sun:tools:jar:1.8.0
It looks like you are running Eclipse using a JRE. JREs don't include the tools.jar file. You have to install a full JDK...
Read more >
Could not find artifact com.sun:tools:jar:1.8.0 at specified path ...
The error says that file tools.jar was not found. What happened? The problem is that your default Java Home is wrong. Most likely,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found