Solved

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

Posted on 2014-01-14
6
829 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
[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
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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
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.

688 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