更新时间:2022-05-09 03:35:17
正如@Alderath所提到的,这主要是一个可以在自己的应用程序中使用的API。尽管如此,jar文件还包含测试客户端,您可以按如下方式启动:
As @Alderath mentioned, this is primarily an API which you can use in your own applications. Nevertheless, the jar file also contains a test client which you can launch as follows:
$ java -cp spinn3r-client-3.4.06.jar com.spinn3r.api.Main
Usage: com.spinn3r.api.Main [OPTION]
Required params:
...
由于这不是可执行jar
文件,你需要通过必需的jar文件和显式包含 main
方法的类。
Since this it is not an executable jar
file, you need to pass the required jar files and the class which contains the main
method explicitly.