• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

UnsupportedClassVersionError

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic