There’s many options to fix this:
Other options
Windows Symbolic Links Utility (Junction v1.06)
http://www.java-forums.org/advanced-java/57496-classpath-max-length.html
http://unserializableone.blogspot.com/2007/10/solution-to-classpath-too-long-aka.html
IBM JDK Limitations (2,031 characters use java.ext.dirs)
Try Jawful, an interesting utility.
Try classpath wildcards or a Stackoverflow discussion on Long Java Classpaths.
Some general information on Classpath.