Nov 23, 2010

bad major version at offset=6

Hi,
Mainly happens or appears when you have a different java versions installed in your IDE / Server.
Try to be consist with the versions you are working with or compiling with or working in the server you have.
Bye,
Dor

2 comments:

  1. Hi
    what do you exactly mean by different java version ?

    I have only 1 JRE installed in my machine. The JRE_HOME variable is set as follows

    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

    I get this error when deploying Hudson 2.2.1 in Tomcat 6

    ReplyDelete
  2. First my suggestion, move from Hudson to Jenkins.
    Config your tomcat to the java jdk, let me know if you need help here.
    Secondly, if you move to jenkins you need to config jenkins or hudson in your case to use the same jdk as the tomcat.
    this error happen when for example, tomcat use java with x version and the hudson uses a different y version of java.

    Hoped that helped.
    Dor

    ReplyDelete