问题:
This question already has an answer here: 这个问题在这里已有答案:
I have been using so many 3rd party libraries(jar files) that my CLASSPATH is completely messed up as i have to include the path for every single jar file that i use. 我一直在使用这么多的第三方库(jar文件),我的CLASSPATH完全搞砸了,因为我必须包含我使用的每个jar文件的路径。
I've been wondering if there is a way to include all the jar files in a folder using wildcard(*) operator (like *.jar). 我一直想知道是否有办法使用通配符(*)运算符(如* .jar)将所有jar文件包含在文件夹中。 But it seems to be not working. 但似乎没有用。 Is there any other way that can shorten the CLASSPATH that currently looks like an essay ;) on my PC?. 有没有其他方法可以缩短当前看起来像文章的CLASSPATH;)在我的电脑上?