Solved

Java, does the order in which jar files are specified within a manifest file matter

Posted on 2014-01-14
6
810 Views
Last Modified: 2014-01-15
Ina manifest of a jar file, does the order in which the jars are listed matter.

WHll the former fars be able to acess the later jars.  Will the later jars be able to access the former jars

Thanks
0
Comment
Question by:Los Angeles1
6 Comments
 

Author Comment

by:Los Angeles1
ID: 39780687
To clarify, I mean two jar files referenced with in the Rsrc-Class-Path: of the manifest
0
 
LVL 27

Assisted Solution

by:dpearson
dpearson earned 167 total points
ID: 39780910
The order doesn't matter (unless you had the same class name in two of the jars - which should never happen).  They can all see each other and classes from any one can access classes from any other.

Doug
0
 
LVL 37

Assisted Solution

by:zzynx
zzynx earned 166 total points
ID: 39781565
Order doesn't matter at all.

You can think of it as follows:
- unzip all jars in the same root directory (respecting the sub directories they include)
- all the class files you become in the root directory (and it's subdirectories) this way are now visible for each java program using these jar files.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 86

Accepted Solution

by:
CEHJ earned 167 total points
ID: 39782012
I mean two jar files referenced with in the Rsrc-Class-Path: of the manifest
Sounds like a custom header. The normal one is Class-Path, in which order is irrelevant
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39782759
:)
0
 
LVL 37

Expert Comment

by:zzynx
ID: 39784655
Thanx 4 axxepting
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This video teaches viewers about errors in exception handling.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

730 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