Today, I installed jenkins in new server. After installation, while trying
to start it, notice below error

    <Snip>

          Starting Jenkins Jenkins requires Java5 or later, but you are
running 1.4.2 from /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
java.lang.UnsupportedClassVersionError: 48.0
   at Main.main(Main.java:90)

  </Snip>

I have set the java home to point new JDK. For instance, echo $JAVA_HOME
provides the output as /Path/to/jdk1.6.0_31. I searched with the error in
google and one of them suggested to use update-alternatives. Since i am not
clear, could you please help me to resolve this issue.


Regards,
Karthik

Reply via email to