Solved

web application deployed with different version of code base

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java.io.BufferedReader   readLine()  //returns the entire file ? 4 73
oracle 11g 23 84
how to install java on RHEL image on EC2 4 28
Problem to Alipay 10 22
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
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.

810 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