I know there are many posts on this. I have tried the advice on those threads.
I compile a class like this... (it creates a NER_Sample.class file)
javac -cp "jar1:jar2:nlp:" NER_Sample.java
Then I try to run it like this
java -cp "jar1:jar2:nlp:" NER_Sample englishPCFG.ser.gz parser/data/testsent.txt
I get Could not find or load main class NER_Sample
NER_Sample has the declaration package nlp;
But this gives the same error
java -cp "jar1:jar2:nlp:" nlp.NER_Sample englishPCFG.ser.gz parser/data/testsent.txt
What do I try next?