[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging jars vs. classes



On Wed, Nov 08, 2000 at 12:03:40PM -0800, Aaron Brashears wrote:
> 
> Joe Emenaker sent a nice idea to me which the list didn't get to
> see. He suggested making a script which does autodetection of jar
> files in your /usr/share/java and sets the classpath
> appropriately. Though I don't think that the devault java
> script/simlink/program should perform that kind of functionality, it
> does sound like it would make a nice script that goes in java-common.

On that note, here's something to stick in your .profile that
accomplishes that task:

for i in /usr/share/java/*.jar ; do
 CLASSPATH=$CLASSPATH:$i
done



Reply to: