wood burning stoves 2.0*
The moose likes Websphere and the fly likes UnsupportedClassVersionError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "UnsupportedClassVersionError" Watch "UnsupportedClassVersionError" New topic
Author

UnsupportedClassVersionError

asmita singh
Greenhorn

Joined: Feb 04, 2007
Posts: 12
Previously I compiled my workspace with jre1.6. When I tried to run the code in WAS7, where Java(TM) SE Runtime Environment is 1.6, i got

The java class could not be loaded. java.lang.UnsupportedClassVersionError: com/main/Index (Unsupported major.minor version 50.0)



Later on I compiled using J2SE 1.5 and then ran in WAS7, where Java(TM) SE Runtime Environment is 1.6, i got

The java class could not be loaded. java.lang.UnsupportedClassVersionError: com/main/Index (Unsupported major.minor version 49.0)
, Still


What am I doing wrong?


PS:- I use iRAD 7.5
 
jQuery in Action, 2nd edition
 
subject: UnsupportedClassVersionError