繁体   English   中英

Landserf Bat文件不执行任何操作

[英]Landserf Bat file does nothing

我正在尝试在计算机上安装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就会打开并立即关闭。 我不确定该怎么办,也找不到在线帮助。

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

 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). 

对我来说,它工作了500m。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM