尝试启动 ANTLR 给出 "NoClassDefFoundError"?

Trying to start ANTLR gives "NoClassDefFoundError"?

我刚刚下载了 ANTLR,当我尝试启动它时,出现了这个错误:

Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/v4/Tool
Caused by: java.lang.ClassNotFoundException: org.antlr.v4.Tool
    at java.net.URLClassLoader.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

我通过以下方式 运行 尝试过:

java -cp "~/Downloads/antlr-4.5-complete.jar" org.antlr.v4.Tool

~ 在 class 路径中不起作用。