Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes getting unsupported classs version exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "getting unsupported classs version exception" Watch "getting unsupported classs version exception" New topic
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
    
    9
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
    
    6

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
 
Similar Threads
Adding duplicate values into HashSet
documentURI
equal symbol expected
Keep getting Redirected to my Login Page
Accessing Return Code Closes RecordSet?