Link to home
Start Free TrialLog in
Avatar of vittalmareddy
vittalmareddy

asked on

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.
Avatar of Mick Barry
Mick Barry
Flag of Australia image

you need to run tomcat on a higher version of java
you can set JAVA_HOME environment var to point at the jdk you want tomcat to use
Avatar of vittalmareddy
vittalmareddy

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.