[Binari] java classpath - pain in the ass.

I'm always having problems with the java class path, I think I just don't really understand how it works (well, I do in theory, but that doesn't seem to help). Suppose you have an external library L, used by both project X and project Y. Project Y also uses the built jar of project X. What would be best practice for the location of library L, without me having to copy it? I think the problem is that in Netbeans, by creating the dependency between Y and X, you don't have to create an extra dependency between L and Y (it propagates). However, when running on command line, you then have a problem, and Y can't find L. sigh. Any tips? Sofie -- Sofie Van Landeghem PhD Student VIB Department of Plant Systems Biology, Ghent University Bioinformatics and Evolutionary Genomics Technologiepark 927, 9052 Gent, BELGIUM Tel: +32 (0)9 331 36 95 fax:+32 (0)9 3313809 Website: http://bioinformatics.psb.ugent.be
participants (1)
-
Sofie Van Landeghem