• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unsupported Class Version Error

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic