When attempting to run the below command:
java -classpath mycompanychecks.jar:checkstyle-5.7-all.jar \
com.puppycrawl.tools.checkstyle.Main \
-c config.xml -r .
I get the error:
Error: Could not find or load main class \
In the directory that I'm running the command from I do have the two jar files, and also I have checked that 'com.puppycrawl.tools.checkstyle.Main' does in fact reside in the 'checkstyle-5.7-all.jar'. As the error seems to refer to the backslash maybe it's a syntactical error? However I'm executing the command exactly as stated on the checkstyle page.