-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Redhat 6 tomcat 1.8.0.24
After upgrade, we are getting
ERROR: JENKINS-18403 JDK 5 not supported to run Maven; retrying with slave Java and setting compile/test properties to point to <PATH>/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
and Java switches to 1.8.0_45
I saw that both 1.594 and 1.642 were compiled against the same java, so why I am getting this message? What change is causing this error?
Thanks
S
- duplicates
-
JENKINS-18403 Jenkins 1.518 causes Java 5 Maven builds to fail
-
- Resolved
-
It is compatible with 1.7 only. Jenkins core 1.594 is built for J6 while 1.642 is built for J7
See
JENKINS-8744,JENKINS-18403,JENKINS-28294We need to backport this doc into the wiki page for a better visibility : https://cloudbees.zendesk.com/hc/en-us/articles/217517477-Maven-jobs-and-Java-versions-compatibility