This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes UnsupportedClassVersionError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "UnsupportedClassVersionError" Watch "UnsupportedClassVersionError" New topic



Joined: Mar 21, 2007
Posts: 2
I am getting the following error.

E:\BACKUP_E\sud\jp>java zee
Exception in thread "main" java.lang.UnsupportedClassVersionError: zee (Unsuppor
ted major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at Source)
at Source)
at$100(Unknown Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

and the program is

class zee
public static void main(String args[])
System.out.println("I think its a tiny proble, please help me");

Please help me.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Not an advanced question. Moving...

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Joanne Neal

Joined: Aug 05, 2005
Posts: 3742
The first thing you should try is searching the forums for UnsupportedClassVersionError. This question has been asked (and answered) many times.

I agree. Here's the link:
subject: UnsupportedClassVersionError
It's not a secret anymore!