File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 10268
    
    8

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!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unsupported Class Version Error