This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Unsupported Class Version Error" Watch "Unsupported Class Version Error" New topic
Author

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(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Exception in thread "main"

how to resolve this problem ?

thank you in advance ..

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10651
    
    9

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!]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Unsupported Class Version Error