Wednesday, November 24, 2010

How to add all jars from a folder quickly

    jars=""
    for j in `ls $libs/*.jar`
    do
        jars=$jars:$j
    done


Use the above jars varible in the classpath.

No comments:

Post a Comment