title: Robot Framework: Getting build error for missing Jar
body: <p>I have started learning Robot Framework (with Java &amp; selenium lib) and was trying to write a simple test case in it. Could you please help me with it.
  I have copied tools jar in the mentioned lib and also in the dependancy
  But still did not work
  Following is the error</p>
  
  <p><strong>Failed to execute goal org.robotframework:robotframework-maven-plugin:1.4.6:run (default-cli) on project JavaRobot: Execution default-cli of goal org.robotframework:robotframework-maven-plugin:1.4.6:run failed: Plugin org.robotframework:robotframework-maven-plugin:1.4.6 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:6 at specified path C:\Program Files\Java\jre1.8.0_101/../lib/tools.jar -> [Help 1]</strong></p>
  
  <p>Here is my POM.xml</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
    &lt;groupId&gt;com.test.Robot&lt;/groupId&gt;
    &lt;artifactId&gt;JavaRobot&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  
    &lt;name&gt;JavaRobot&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
    &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;3.8.1&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
        &lt;dependency&gt;
        &lt;groupId&gt;org.robotframework&lt;/groupId&gt;
        &lt;artifactId&gt;robotframework&lt;/artifactId&gt;
        &lt;version&gt;2.8.4&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
     &lt;groupId&gt;com.sun&lt;/groupId&gt;
     &lt;artifactId&gt;tools&lt;/artifactId&gt;
     &lt;version&gt;1.6&lt;/version&gt;
     &lt;scope&gt;system&lt;/scope&gt;
     &lt;systemPath&gt;C:\Program Files\Java\jdk1.8.0_101\lib\tools.jar&lt;/systemPath&gt;
   &lt;/dependency&gt;
  
  
       &lt;dependency&gt;
        &lt;groupId&gt;com.github.markusbernhardt&lt;/groupId&gt;
        &lt;artifactId&gt;robotframework-selenium2library-java&lt;/artifactId&gt;
        &lt;version&gt;1.4.0.8&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
     &lt;/dependencies&gt;
  
     &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.robotframework&lt;/groupId&gt;
                  &lt;artifactId&gt;robotframework-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.4.6&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;run&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
     &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>