File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "UnsupportedClassVersionError" Watch "UnsupportedClassVersionError" New topic
Author

UnsupportedClassVersionError

asmita singh
Greenhorn

Joined: Feb 04, 2007
Posts: 10
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: UnsupportedClassVersionError
 
Similar Threads
java 1.4 and java 1.5
Can't resolve JDK issue on Mac
Exception occurred during event dispatching: java.lang.UnsupportedClassVersionError: com/microsoft/
WAS7