• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

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.
0
vittalmareddy
Asked:
vittalmareddy
  • 3
1 Solution
 
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
 
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
 
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

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now