title: Jar file as agent in java
body: <p>When is jar file added as an <code>agent</code> in <code>java</code> and when it should be added in <code>bootclasspath</code> ?</p>
  
  <p>Example :
  Why do we add <code>lombok.jar</code> as an <code>agent</code> when eclipse starts and why also we add in the <code>bootclasspath</code> ?</p>
  
  <pre><code> -javaagent:/home/$USER/eclipse/4.4-luna-SR2/lombok.jar
   -Xbootclasspath/a:/home/$USER/eclipse/4.4-luna-SR2/lombok.jar
  </code></pre>