Well, building a custom agent JAR version defintely belongs to the developer mailing list...
Regarding the question, no it is NOT possible to build the current agent.jar (Remoting) version for JDK 1.6. The code has moved on and adopted many features from newer Java versions, Java 1.8 is the minimum supported version. Good news is that you should not need to rebuild it at all. You can use Java 1.8 for running the Jenkins agent, but use older Java versions for running your software builds. FTR it is possible only for Freestyle and Pipeline projects, but not the Maven ones. Please see https://www.jenkins.io/doc/administration/requirements/java/ for more details On Thursday, July 23, 2020 at 5:09:51 PM UTC+2, Matt Sicker wrote: > > This is the developer list for discussing development of Jenkins and > plugins. You want to try the jenkinsci-users mailing list or similar > chats: https://www.jenkins.io/mailing-lists/ > > On Thu, Jul 23, 2020 at 8:15 AM [email protected] > <[email protected] <javascript:>> wrote: > > > > Hi All, > > > > i have a very complex environment in my jenkins build and deployment. > There are four kinds of system: windows(for the jboss java environment), > aix(for the xlc compiler), linux(for the websphere jee application), mac > (for the ios development). Different system own their jdk, the least one is > the JDK 1.6. For the AIX IBM JDK(with the DES SDK problem), so i need the > jenkins 2.32.1+, but my environment which has the JDK 1.6, so the slave > JNLP showing error it requries JDK8 . But the jenkins slave jar need the > JDK 1.7+, so i thinks weather i can compile the slave jar by myself for the > jdk 1.6. > > > > How can i solve this problem? > > > > > > Pls help on this. > > > > > > Regards, > > > > M.Venkat. > > > > -- > > You received this message because you are subscribed to the Google > Groups "Jenkins Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/633cc212-b2e0-4c5f-b45d-66a6be26d455n%40googlegroups.com. > > > > > > -- > Matt Sicker > Senior Software Engineer, CloudBees > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d70cba58-982c-49db-8c72-f1b20f02c40bo%40googlegroups.com.
