× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jon,

I have used a script like this:

#! /bin/qsh
cd $(dirname $0)
CLASSPATH=.
for i in lib/*.jar; do
  CLASSPATH=${CLASSPATH}:$i
done

ENDORSED=/java/someplace/lib/endorsed

echo CLASSPATH=${CLASSPATH}
export -s CLASSPATH=${CLASSPATH}

java -Djava.endorsed.dirs=${ENDORSED}  com.somepackage.SomeClass

Save it and set it to be executable. If you run this script from a
directory that contains a lib directory it will add all jars in the lib
directory. You would put things like xercesImpl.jar in ENDORSED.

David Morris


>>> Jon.Paris@xxxxxxxxxxxxxx 03/08/05 7:40 PM >>>
Can someone point me to the docs that define what can be specified in
the
CLASSPATH.  I know I can specify multiple jar files by separating
entries by
a colon.  But how do I set it up so that (for example) all jars in a
specified directory will be searched.  I can't find this info in the
IBM
docs.

Jon Paris


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.