web application deployed with different version of code base

We have a web application developed using java deployed on tomcat, if the application refers third party libraries(jars), which are complied with different jdk version, will it cause any (version mismatch)issue. if then how to overcome.
vittalmareddyAsked:
Who is Participating?
 
objectsCommented:
yes, later versions of java will run code compiled for earlier versions
in your case you'll need to run tomcat with java6
0
 
objectsCommented:
you need to run tomcat on a higher version of java
0
 
objectsCommented:
you can set JAVA_HOME environment var to point at the jdk you want tomcat to use
0
 
vittalmareddyAuthor Commented:
custom code is compiled using JDK1.6, and third party libraries are complied with different versiona as
1. first.jar  ->jdk1.4
2. second.jar ->jdk1.3

if i  run tomcat referring higher jdk, and accessing functionality referring from jdk1.4 and jdk1.3 will not throw, version mismatch exception.
0
 
Kevin CrossChief Technology OfficerCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.