ERROR: [JENKINS-18403] JDK 5 not supported to run Maven
<p>Here is what I am doing:</p>

<ol>
<li>Jenkins (v.1638) master runs on Windows 7</li>
<li>A node/slave (agent) runs on Linux (Ubuntu 14.04) </li>
<li>JDK 6 (Oracle jdk1.6.0_45) is used</li>
<li>Maven 2.2.1 is used</li>
</ol>

<p>Next message is partially copied from console output when I kick off project build:<br><br>
[webapp] $ /usr/local/jdk1.6.0_45/bin/java -cp /projects/maven-agent.jar:/projects/classworlds.jar hudson.maven.agent.Main /usr/local/apache-maven-2.2.1 /projects/slave.jar /projects/maven-interceptor.jar 58848 /projects/maven2.1-interceptor.jar <br>
&lt;===[JENKINS REMOTING CAPACITY]===>channel started<br>
ERROR: [JENKINS-18403] JDK 5 not supported to run Maven; retrying with slave Java and setting compile/test properties to point to /usr/local/jdk1.6.0_45<br>
Established TCP socket on 59443<br>
maven-agent.jar already up to date<br>
classworlds.jar already up to date<br>
maven-interceptor.jar already up to date<br>
maven2.1-interceptor.jar already up to date<br>
[webapp] $ /projects/jdk1.7.0_79/jre/bin/java -cp /projects/maven-agent.jar:/projects/classworlds.jar hudson.maven.agent.Main /usr/local/apache-maven-2.2.1 /projects/slave.jar /projects/maven-interceptor.jar 59443 /projects/maven2.1-interceptor.jar<br>
&lt;===[JENKINS REMOTING CAPACITY]===>channel started<br></p>

<p>I got confused by the output:<br></p>

<ol>
<li>my Linux doesn't have JDK 5. Why does Jenkins report this error?</li>
<li>why are maven agent run twice? one by jdk1.6.0_45 and one by jdk1.7.0_79</li>
<li>jdk1.7.0_79 is configured in the field of JavaPath of Node (for running slave agent in Linux). why is it picked up to execute maven agent?</li>
</ol>

<p>I am newbie to Jenkins and couldn't find answers to my questions.<br></p>

<p>Please explain why it works this way. I appreciate it very much for your help.</p>