It's not a secret anymore!
The moose likes Beginning Java and the fly likes Unsupported Class Version Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Unsupported Class Version Error" Watch "Unsupported Class Version Error" New topic

Unsupported Class Version Error

tadi raja
Ranch Hand

Joined: Jul 07, 2008
Posts: 109
Hi All,

I got the following exception, when i was trying to launch the application in eclipse ...

java.lang.UnsupportedClassVersionError: com/hdsc/plus/app/vista/VistaDevStart (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
Exception in thread "main"

how to resolve this problem ?

thank you in advance ..

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10815

This error usually indicates a version mismatch between compile and runtime. Usually the solution is to recompile from scratch and launch.
Nothing to do with GUI.
Moving to the beginner forum.

PS. Please make your titles meaningful. Eclipse has got nothing to do with your current problem. Something like "Unsupported Class Version Error" or "Class version problem" would be more intuitive.
You can edit the existing title by clicking on

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
jQuery in Action, 3rd edition
subject: Unsupported Class Version Error
jQuery in Action, 3rd edition