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.
I’ve been wondering if there is a way to include all the jar files in a folder using wildcard(*) operator (like *.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?.
From: http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html
This should work in Java6, not sure about Java5
(If it seems it does not work as expected, try putting quotes. eg:
"foo/*")