When you run 'java -cp ...' or 'java -classpath'?
How do you set a directory of jars in classpath?
In Linux, java -cp /some/directory/ would not work! although it clearly says directory in -cp is supported. http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/classpath.html