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

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
Los Angeles1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CEHJConnect With a Mentor Commented:
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
 
Los Angeles1Author Commented:
To clarify, I mean two jar files referenced with in the Rsrc-Class-Path: of the manifest
0
 
dpearsonConnect With a Mentor Commented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
zzynxConnect With a Mentor Software engineerCommented:
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
 
CEHJCommented:
:)
0
 
zzynxSoftware engineerCommented:
Thanx 4 axxepting
0
All Courses

From novice to tech pro — start learning today.