Missing Artifact JDK Tools Jar - Big Data In Real World

Missing Artifact JDK Tools Jar

Hadoop Mapper and Reducer Output Type Mismatch
June 22, 2016
Changing The Output File Prefix Of Hadoop MapReduce Job
July 10, 2016
Hadoop Mapper and Reducer Output Type Mismatch
June 22, 2016
Changing The Output File Prefix Of Hadoop MapReduce Job
July 10, 2016

Missing Artifact JDK Tools Jar

Some versions of Maven / eclipse will give you the below error in your pom.xml

Missing artifact jdk.tools:jdk.tools:jar:1.7.0_79

It is very easy to solve the problem. Simply add the below dependency to your pom.xml.

<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.7.0_05</version>
<scope>system</scope>
<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>

You might still see an error even after adding the above dependency to your pom.xml.

Maven Tools Jar Error

If you still see an error with the new dependency, which means the JAVA_HOME is not set and simply replace the JAVA_HOME with location leading up to lib/tools.jar and that should solve the issue. Note: you need to have JDK installed in your system for tools.jar. If you don’t have JDK installed, download and install it from the Oracle website.

<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.7.0_05</version>
<scope>system</scope>
<systemPath>C:/Program Files/Java/jdk1.8.0_65/lib/tools.jar</systemPath>
</dependency>

 

Big Data In Real World
Big Data In Real World
We are a group of Big Data engineers who are passionate about Big Data and related Big Data technologies. We have designed, developed, deployed and maintained Big Data applications ranging from batch to real time streaming big data platforms. We have seen a wide range of real world big data problems, implemented some innovative and complex (or simple, depending on how you look at it) solutions.
Missing Artifact JDK Tools Jar
This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy.

Hadoop In Real World is now Big Data In Real World!

X