Solved

web application deployed with different version of code base

Posted on 2011-02-13
6
205 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JAVA part two 5 58
unix in java example 9 53
Java - Why doesn't this JFrame work 3 45
couple of eclipse 5 27
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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.

862 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

24 Experts available now in Live!

Get 1:1 Help Now