| Author |
getting unsupported classs version exception
|
Sekhar Choudary
Ranch Hand
Joined: May 03, 2008
Posts: 57
|
|
Hi all, 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. Sekhar.
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
|
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.
|
Joanne
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9939
|
|
|
you also may want to be sure you don't have an old .class file around preventing things from being compiled with the new compiler.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
Sekhar Choudary
Ranch Hand
Joined: May 03, 2008
Posts: 57
|
|
Hi, Thanks Joanne and fred for yours valuable information. Sekhar.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: getting unsupported classs version exception
|
|
|