"Getting exception when i run a jdbc code"

Hi, I am getting this exception. Can anyone figure out what the problem is?Exception in thread "main" java.lang.UnsupportedClassVersionError: TestJdbcGrip(Unsupported major.minor version 49.0)Regards
[234 byte] By [beejuma] at [2007-11-27 8:42:09]
# 1
You have compiled using jdk 1.6 and are trying to run using an earlier jre version. When compiling you can use the -target option to create compatible class files. Check the javac documentation for the options.
sabre150a at 2007-7-12 20:41:25 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Please don't double post: http://forum.java.sun.com/thread.jspa?threadID=5188121&tstart=0
masijade.a at 2007-7-12 20:41:25 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...