我找到了这篇文章: DBpedia Statistical Spotlight installation
我不理解这一行(分解命令行参数):
4. run java
-Xmx10G
-Xms10G
-jar
dbpedia-spotlight-0.7.jar
~/pathToModels/en/
http://localhost:2222/rest
任何人都可以向我解释这些命令行参数吗? 我正在使用NetBeans IDE和Glassfish服务器
答案 0 :(得分:0)
java --name of the program you are running (you will need a JRE)
-Xmx10G --maximum memory to be allocated 10GB
-Xms10G --minimum memory to be allocated
-jar --run the program from a jar file
dbpedia-spotlight-0.7.jar --the jar file containing the program
~/pathToModels/en/ --argument 1 to be passed to the program
http://localhost:2222/rest --argument 2, looks like the URL on which your server will run