try fully qualifying the path to the jars, such as...
java -classpath /libs/log4j-1.2.14.jar
etc. etc. The issue is that it can't find the jar so there are only 2 possibilities, the full path to the jar needs to be specified or the jar does not exist.
Don't get me started about those stupid light bulbs.