Solved

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

Posted on 2014-01-14
6
782 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 26

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Filesystems reporting faster growth than actual file growth... 7 57
xampp tool 12 48
AWS ELB 5 76
winscp where are logs stored 3 34
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

786 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