title: UnsupportedClassVersionError: JVMCFRE003 bad major version in WebSphere AS 7
body: <p>I am getting this error</p>
  
  <p><strong>java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=map/CareMonths, offset=6</strong></p>
  
  <p>My Eclipse's Java compiler is set to <code>1.6</code> and my installed Java SDK in C:\Program Files is <code>1.6.0</code>, but still I get this error when I install my app to Webshere Application Server V7. </p>
  
  <p>What does <code>offset=6</code> mean? I want to compile using Java 6 and Websphere 7 supports Java 6.</p>
  
  <p>I do see that the JDK in the IBM directory where server is installed is Java 7. Is that what is causing this?  ....but again my workspace's Eclipse compiler is set to Java <code>1.6</code>.</p>