When i run a java file through comand prompt it says..
"Unsupported class exception error"...Bad version number in .class file.
(compilation is ok. this happens @ runtime)
i checked the versions of jdk & jre . Both are same which is 1.6.0_01.
When i compile and run the same code in Jcreator ..it compiles & run ok.
what could be the problem?