This is because of the corrupted command line: - the classpath is not wellformed - in general you should not use quotes around every jar but only around the whole path: "C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\org.apache.commons.codec.1.3.jar;C:\Program Files\MyInstallations\OpenGrok\bin\org.apache.commons.jrcs.diff.jar;C:\ProgramFiles\MyInstallations\OpenGrok\bin\org.apache.commons.jrcs.rcs.jar;C:\Program Files\MyInstallations\OpenGrok\bin\lucene-core-2.2.0.jar"
However, you don't need to use at all. Try to run the command below from the directory where opengrok.jar is located: java -Xmx1524m -jar opengrok.jar -W "C:\Program Files\MyInstallations\OpenGrok\bin\data\configuration.xml" -P -S -v -s "C:\Program Files\MyInstallations\OpenGrok\bin\source" -d "C:\Program Files\MyInstallations\OpenGrok\bin\data" Moisei.