It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

java.lang.UnsupportedClassVersionError -- Please advise

java.lang.UnsupportedClassVersionError -- Please advise

Postby arshan_v on Tue Mar 06, 2007 9:06 am

Hi everybody


My system confi is :
Win XP , JDK 6 . My env variables are : PATH :C:\Program
Files\Java\jdk1.6.0\bin and CLASSPATH : . (Dot).

I have ran many java programs in my system without any problems. I
have installed tomcat 6 (by just using the Windows Service installer -
apache.tomcat.6.0.10.exe and making no other configurations ) .

Now I face problem whenever I want to run any java programs, I get
error message :

Exception in thread "main" java.lang.UnsupportedClassVersionError:
Tutorial05 (Unsupported major.minor version 50.0)

Could you please advise ? :cry:

Thanks
arshan_v
 
Posts: 0
Joined: Tue Mar 06, 2007 9:03 am

hey i am getting the same error

Postby junioracp on Tue Mar 06, 2007 2:42 pm

hi friend,
Even i am gettin the same error and have posted the same querry this morining, but havent recieved any reply till now. So if u find out how to fix it, can u plz kindly tell me also.
I seriously hope our problem gets solved soon.
junioracp
 
Posts: 2
Joined: Mon Mar 05, 2007 6:34 pm

Postby mwa103 on Tue Mar 06, 2007 10:15 pm

Have you tried re-compiling the files after you installed tomcat, or are you just executing class files that were compiled before hand? Don't know if that would cause this error or not (I've never seen this error before), but it's the first thing that popped into my head. Hope this helps.

-Mike
mwa103
100+ Club
 
Posts: 206
Joined: Mon Mar 07, 2005 10:55 pm

Postby mwa103 on Tue Mar 06, 2007 10:27 pm

Did a little google'n and found this forum discussing a similar issue:

http://forum.java.sun.com/thread.jspa?threadID=667600

Make sure your java class paths for tomcat are the same as your windows settings (if you are compiling with one and running with the other).

-Mike
mwa103
100+ Club
 
Posts: 206
Joined: Mon Mar 07, 2005 10:55 pm


Who is online

Users browsing this forum: No registered users and 1 guest