title: Compilation errors in Jenkins but not in Eclipse
body: <p>We're coding a Java6 project under Eclipse Indigo and we currently have some compilations differences between our dev environment under Eclipse and our integration one with Jenkins.</p>
  
  <ul>
  <li>Our Eclipse are under <strong>Windows 7 with JDK 1.6.0_30</strong>.</li>
  <li>Jenkins is under <strong>Linux with JDK 1.6.0_31</strong> (also tested with version 1.6.0_24).</li>
  </ul>
  
  <hr>
  
  <p>The fact is that we're getting some compilation errors <em>only</em> on Jenkins, like:</p>
  
  <ul>
  <li><code>both define … but with unrelated return types</code> when an interface inherits from two interfaces which declare the same method (with different but compliant types)</li>
  <li><code>no unique maximal instance exists for type variable B with upper bounds I,…</code> for some methods that return a raw type <code>B</code> instead of more specific <code>B&lt;C&gt;</code>.</li>
  </ul>
  
  <hr>
  
  <p>The question here is not to solve this problems; with a few changes in our source code we succeeded in making Jenkins compiled.</p>
  
  <p>The question is: <strong>why does Jenkins compile in an other way than our Eclipse?</strong> Is there some magical parameters given to the compiler or the JVM that could make such a big difference?</p>