Switching to a freestyle build with a maven build step should resolve the issue as you can then run Jenkins with 1.7.0 and build using maven and the older JDK
http://javaadventure.blogspot.ie/2013/11/jenkins-maven-job-type-considered-evil.htmlstrikes again! On 5 February 2014 14:20, marathiboy <[email protected]> wrote: > Thanks Richard, > > I understand that Java 1.6.0_71 is NOT freely available, however, since I > am > just compiling (Jenkins's tomcat is running under Java 1.7), I thought this > should show me compilation error from my code and never expected to see > errors from Jenkins side. > > Due to COTS issue, we must stick to Java 1.6 and hence the problem. > > Thanks again > > S > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/compiling-under-java-1-6-0-71-tp4689274p4689357.html > Sent from the Jenkins users mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
