同事JBuilder 2005无法启动,准备重装系统。现象是这样的,安装好jbuilder2005后,点击启动,2005的启动界面一闪后便再无动静。我看了一下,觉得应该不是系统问题。上网一查,发现许多这种现象。初步怀疑内存大引起的,因为此机器内存为2G。
解决办法如下:
进入D:\Borland\JBuilder2005\bin\JBuilder.exe路径,在cmd中运行JBuilder,报错:
D:\Borland\JBuilder2005\bin>jbuilder
Error occurred during initialization of VM
Could not reserve enough space for object heap
初步估计是jvm定义值过大,在D:\Borland\JBuilder2005\bin下查看,发现有2个配置文件,一个是jbuilder.config,一个是jdk.config,用edit打开后发现在jbuilder.config中有如下有关jvm的定义:
# Tune this VM to provide enough headroom to work on large
# applications
vmmemmin 32m
vmmemmax 75%
将其改为
vmmemmin 32m
vmmemmax 50%
还是启动不行,又将其改为:
vmmemmin 32m
vmmemmax 512m
重新启动ok,问题解决
阅读(1461) | 评论(0) | 转发(0) |