Solved

web application deployed with different version of code base

Posted on 2011-02-13
6
203 Views
Last Modified: 2012-05-11
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
Comment
Question by:vittalmareddy
  • 3
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 34884800
you need to run tomcat on a higher version of java
0
 
LVL 92

Expert Comment

by:objects
ID: 34884804
you can set JAVA_HOME environment var to point at the jdk you want tomcat to use
0
 

Author Comment

by:vittalmareddy
ID: 34884822
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
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 34884825
yes, later versions of java will run code compiled for earlier versions
in your case you'll need to run tomcat with java6
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 36935132
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now