Hi,
You can have as many versions of the JDK installed on your system as you
want.  Tomcat will use the one pointed out by the JAVA_HOME variable.
Whatever JDK Tomcat uses should be the same or a later version than the
JDK you use to compile your class.  Class version 49.0 is JDK 1.5 I
believe, so if you compile your classes with JDK 1.5 you have to set
Tomcat to use JDK 1.5 as well (which is officially not supported yet but
actually works fine).

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 04, 2004 9:40 AM
>To: Shapira, Yoav
>Subject: Re: Tomcat error
>
>Yoav
>
>Thanks, I assume I can have more then one version of the jdk installed
>on my system correct? Is this error caused by Tomcat or that there is
an
>older version of the jdk on the server?
>
>Shapira, Yoav wrote:
>
>>Hi,
>>Make sure you compile the class with JDK 1.4 or earlier, not JDK 1.5.
>>
>>Yoav Shapira
>>Millennium Research Informatics
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: Schalk Neethling [mailto:[EMAIL PROTECTED]
>>>Sent: Wednesday, August 04, 2004 8:16 AM
>>>To: Tomcat Users List
>>>Subject: RE: Tomcat error
>>>
>>>Hey there all
>>>
>>>I get the following line when running my servlet on Tomcat version
>>>
>>>
>>5.0.25:
>>
>>
>>>java.lang.UnsupportedClassVersionError:
>>>
>>>
>>org/volume4/searchEngine/lawSearch
>>
>>
>>>(Unsupported major.minor version 49.0)
>>>
>>>What exactly does this mean and how do I go about fixing this?
Thanks!
>>>
>>>
>>>--
>>>Kind Regards
>>>Schalk Neethling
>>>Web Developer.Designer.Programmer.President
>>>Volume4.Development.Multimedia.Branding
>>>emotionalize.conceptualize.visualize.realize
>>>Tel: +27125468436
>>>Fax: +27125468436
>>>email:[EMAIL PROTECTED]
>>>web: www.volume4.co.za
>>>
>>>This message contains information that is considered to be sensitive
or
>>>confidential and may not be forwarded or disclosed to any other party
>>>without the permission of the sender. If you received this message in
>>>error, please notify me immediately so that I can correct and delete
>>>
>>>
>>the
>>
>>
>>>original email. Thank you.
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>
>>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender.  Thank you.
>>
>>
>>
>>
>
>--
>Kind Regards
>Schalk Neethling
>Web Developer.Designer.Programmer.President
>Volume4.Development.Multimedia.Branding
>emotionalize.conceptualize.visualize.realize
>Tel: +27125468436
>Fax: +27125468436
>email:[EMAIL PROTECTED]
>web: www.volume4.co.za
>
>This message contains information that is considered to be sensitive or
>confidential and may not be forwarded or disclosed to any other party
>without the permission of the sender. If you received this message in
>error, please notify me immediately so that I can correct and delete
the
>original email. Thank you.
>




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to