Landserf Bat文件什么都不做

时间:2016-11-16 17:26:13

标签: java batch-file jar

我正在尝试在我的计算机上安装Landserf: http://www.landserf.org/

当我点击快捷方式时,没有任何反应,当我运行bat文件时,它立即打开并关闭。我的老板说上次他们遇到这个问题他们只需要更改bat文件中的参数,但她不知道哪个,我也不知道。

以下是bat文件内容:

cd C:\Program Files (x86)\LandSerf
start javaw -Xmx1400m -Djava.library.path=.\lib -classpath    ./jars/landserf230.jar;./jars/jogl.jar;./jars/alloy.jar;./jars/utils230.jar;./jars/RXTXcomm.jar;./jars/gluegen-rt.jar jwo.landserf.LandSerf %1 %2 %3 %4 %5 %6 %7 %8 %9

每当我运行文件时,cmd会立即打开并关闭。我不知道该怎么做,也无法在网上找到任何帮助。

1 个答案:

答案 0 :(得分:0)

同样的问题,通过减少.bat文件中已分配内存的参数来解决,如自述文件(Landserf安装文件夹中的原始文档)中所述:

If you have large amounts of physical memory on your system, you can reallocate more of it
to LandSerf by editing landserf.sh and changing 1400 in the -Xmx1400m setting to an appropriate
figure (where 1400m refers to 1400 Mbytes).

对我而言,它的工作时间为500米。

相关问题