0

我找到了这篇文章: DBpedia Statistical Spotlight 安装

我不明白这一行(分解为分隔命令行参数):

4. run java 
       -Xmx10G 
       -Xms10G 
       -jar 
       dbpedia-spotlight-0.7.jar 
       ~/pathToModels/en/ 
       http://localhost:2222/rest

谁能向我解释这些命令行参数?我正在使用 NetBeans IDE 和 Glassfish 服务器

4

1 回答 1

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
于 2015-06-17T16:54:21.367 回答