I am working on a Windows PC and have cygwin on it!
I have organized all my jars under a directory within a few directories!
I am writing a bash
script to set the CLASSPATH
by iterating through the directory that is passed as a parameter as follows:
for JAR_FILE in `ls *.jar`
do
CLASSPATH="$DIRECTORY_TO_LOOK_FOR_JARS"/$JAR_FILE:$CLASSPATH
done
每当《名录》中的空间如/cygdrive/c/Documents 以及《设置/用户/My Jars
之后分离的。和I 运行
/cygdrive/c/Documentsjava -cp$ CLASSPATH some Package.someclass
时,就会出现一个错误,表示没有发现“级编码”和
谁能帮助我解决这一问题?