原先的eclipse设置的内存太小,编译大的网站JSP或者JAVA文件,速度就很慢,就修改配置文件eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
–launcher.defaultAction
openFile
–launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1124m
但是启动会提示Could not create the java virtual machine
原因是没有指定使用的JDK...
解决办法:点eclipse.exe创建一个桌面快捷方式,在目标中增加-VM参数
D:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_21\bin\javaw"
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
–launcher.defaultAction
openFile
–launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1124m
但是启动会提示Could not create the java virtual machine
原因是没有指定使用的JDK...
解决办法:点eclipse.exe创建一个桌面快捷方式,在目标中增加-VM参数
D:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_21\bin\javaw"