?
Solved

web application deployed with different version of code base

Posted on 2011-02-13
6
Medium Priority
?
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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 60

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

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

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

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

719 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