my program is getting successful compilation , but when i try to run it gives UnsupportedClassVersionException , i have set path to bin in jdk. do i need to set classpath if so to where. can anyone let me know solution.
posted 7 years ago
That usually means you have compiled with one version but you are trying to run it with an earlier version. Check the versions of your jdk and jre.