Re: java.lang.UnsupportedClassVersionError

2009-09-17 Thread Peter Crowther
2009/9/17 Phani Raj Kumar bphanirajku...@gmail.com

 Exception in thread main java.lang.UnsupportedClassVersionError:
 org/apache/catalina/startup/Bootstrap (Unsupported major.minor version
 49.0)

 JDK version: 1.6.0


For some reason, Tomcat isn't using that JDK - it's using some other one
somewhere on the system.  What does version.sh tell you?

- Peter


Re: java.lang.UnsupportedClassVersionError

2009-09-17 Thread Phani Raj Kumar
Thanks peter, Actually JDK was pointing to 1.4 so was not working. After it
is changed to 1.6 it is now working fine.

On Thu, Sep 17, 2009 at 12:35 PM, Peter Crowther 
peter.crowt...@melandra.com wrote:

 2009/9/17 Phani Raj Kumar bphanirajku...@gmail.com

  Exception in thread main java.lang.UnsupportedClassVersionError:
  org/apache/catalina/startup/Bootstrap (Unsupported major.minor version
  49.0)
 
  JDK version: 1.6.0
 

 For some reason, Tomcat isn't using that JDK - it's using some other one
 somewhere on the system.  What does version.sh tell you?

 - Peter



java.lang.UnsupportedClassVersionError

2009-09-16 Thread Phani Raj Kumar
Hi Friends,


I tried to upgrade my tomcat server from 5.x to 6.x, when i started the
server am getting the following error.

Exception in thread main java.lang.UnsupportedClassVersionError:
org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)

My tomcat version: apache-tomcat-6.0.20

JDK version: 1.6.0

OS: Unix

Thanks,
PHani.


java.lang.UnsupportedClassVersionError -- Please advise

2007-03-06 Thread Arshan Varsi
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 ?
   
  Thanks 
   


-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

RE: java.lang.UnsupportedClassVersionError -- Please advise

2007-03-06 Thread Peter Crowther
 From: Arshan Varsi [mailto:[EMAIL PROTECTED] 
   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 ?

Something is trying to use an older JDK to run Tomcat - probably 1.5.  I
think you should look at the Tomcat service properties and check that it
is correctly configured.

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.lang.UnsupportedClassVersionError -- Please advise

2007-03-06 Thread Li

I updated my tomcat 5 to 6 (beta) which I didnt have this problem. Class
version problem sometimes caused by system time. have you changes your
system time? Or try to clean up all classes you had generated and compile
your java program again see how

On 3/6/07, Peter Crowther [EMAIL PROTECTED] wrote:


 From: Arshan Varsi [mailto:[EMAIL PROTECTED]
   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 ?

Something is trying to use an older JDK to run Tomcat - probably 1.5.  I
think you should look at the Tomcat service properties and check that it
is correctly configured.

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
When we invent time, we invent death.