i am trying to learn how to use ANTLR, so I tried to run an example from the book , but the the cmd is telling me: "Could not find or load main class Test". Could someone tell me what I did wrong. Thanks in advance
package antlrs;
import org.antlr.v4.runtime.*;
public class Test {
public static void main(String[] args) throws Exception {
CharStream inputStream = CharStreams.fromFileName("firstTest.txt");
ArrayInitLexer lexer = new ArrayInitLexer(inputStream);
ArrayInitParser parser = new ArrayInitParser(new CommonTokenStream(lexer));
parser.addParseListener(new ArrayInitBaseListener());
parser.init();
}}