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 <panikera.raj...@gmail.com>:

> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7u
> nh273Q%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to