安装好jbuilder2005后,点击启动,2005的启动界面一闪后便再无动静,进入F:\Borland\JBuilder2005\bin\JBuilder.exe路径,在cmd中运行JBuilder,报错:
F:\Borland\JBuilder2005\bin>jbuilder
Error occurred during initialization of VM
Could not reserve enough space for object heap
初步估计是jvm定义值过大,在F:\Borland\JBuilder2005\bin下查看,发现有2个配置文件,一个是jbuilder.config,一个是jdk.config,打开后发现在jbuilder.config中有如下有关jvm的定义:
# Tune this VM to provide enough headroom to work on large
# applications
vmmemmin 32m
vmmemmax 75%
将其改为
vmmemmin 32m
vmmemmax 512
重新启动ok,问题解决。
本文地址:http://com.8s8s.com/it/it15004.htm