I am new to working with programs written in Java and am having a whole lot of trouble getting StanfordCoreNLP to do what it's supposed to do. I unzipped the program into its own directory, to which I added the XML file the program is supposed to process. The code I've been using to process the file in command line is:

java -cp stanford-corenlp-YYYY-MM-DD.jar:stanford-corenlp-YYYY-MM-DD-models.jar:xom.jar:joda-time.jar -Xmx3g edu.stanford.nlp.pipeline.StanfordCoreNLP [ -props ] -file .

The problem is that every time I try to run this I get the following error: "could not find or load main class edu.stanford.nlp.pipeline.StanfordCoreNLP." I'm just not sure how to deal with this error and would appreciate any help anyone can give. Thanks.