my dog learned polymorphism
The moose likes Websphere and the fly likes UnsupportedClassVersionError Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "UnsupportedClassVersionError" Watch "UnsupportedClassVersionError" New topic
Author

UnsupportedClassVersionError

asmita singh
Greenhorn

Joined: Feb 04, 2007
Posts: 8
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: UnsupportedClassVersionError
 
Similar Threads
Can't resolve JDK issue on Mac
WAS7
java 1.4 and java 1.5
Exception occurred during event dispatching: java.lang.UnsupportedClassVersionError: com/microsoft/