This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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: 10769

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:
subject: Unsupported Class Version Error
jQuery in Action, 3rd edition