Possible Duplicate:
How to set a java compiler in Netbeans
I m getting the following stack-trace when i changed my jdk version in netbeans from jdk6 to 7....
java.lang.UnsupportedClassVersionError: WEB9032: Class
com.hcdc.coedp.safe.controller.GatewayController has unsupported major or
minor version numbers, which are greater than those found
in the Java Runtime Environment version 1.6.0_32
I am using glassfish 3.1.2 and spring framework. Plz help me out.
Edit: I have edited the jdk version in glassfish asenv.bat file to jdk 7 now also getting the same error.