Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'installing jar files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
installing jar files
Authored by: zgrose on May 19, '01 04:04:05PM

the classpath is actually fairly easy to understand albeit very verbose. :) some people like to maintain a global CLASSPATH variable in their environment, but i don't like that approach since you tend to lose sight of the dependencies between your programs and their libraries.

the approach i like (and i think most java apps take), is to use the -classpath parameter to the java application. the classpaths can get *very* long, but you have precise control over what is going on. for instance, one application can use one XML library and another use a separate XML library without clashes.

my recommendation is to make heavy use of -classpath (or let MRJAppBuilder do it for you) rather than using other means.



[ Reply to This | # ]