Can you bit elaborate about this, how cay achieve this, is there any configuration file where I can specify to use JDK 1.6
-Panikera On Fri, Aug 26, 2016 at 3:55 PM, nicolas de loof <[email protected]> wrote: > You have to distinguish the JDK running jenkins and the JDK building your > project. You can configure jenkins to build with arbitrary JDK, using Java > installations on global configuration and selecting the adequate one for > your jobs > > 2016-08-26 11:22 GMT+02:00 Panikera Raj <[email protected]>: > >> Hi All, >> >> I have a problem, please do help me on this >> >> First I have installed JDK 1.7 in windows-64 bit machine, then I have >> started jenkins, in jenkins i have created some projects Called Android and >> I was able executing successfully, But later I am facing some issue in >> Android project, so I have downgraded My Java JDK to 1.6, Here only my >> actual problem started, >> After downgrading java version I am trying run jenkins, but I >> am facing blow exception. >> D:\Jenkins>java -jar jenkins.war >> Jenkins requires Java7 or later, but you are running 1.6.0_21-b06 from >> C:\Program Files\Java\jdk1.6.0_21\jre >> java.lang.UnsupportedClassVersionError: 50.0 at Main.main (Main.java:83) >> >> D:\Jenkins> >> >> >> Please let me know how to resolve this issue. I don't have other chance >> to upgrade the Java version to 1.7, I have to use 1.6 only please help me >> on this. >> your help will be highly appriciated >> >> -Panikera >> >> >> >> -- >> 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]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/jenkinsci-users/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xw >> cTc7unh273Q%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0 > yUwA0LJg9g%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zyd85EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
