原文:http://my.oschina.net/noday/blog/203987
到eclipse目录,打开eclipse.ini文件,在指定位置加入你的jdk相关文件(如下面示例配置中-vm配置,聪明人一看就懂,不懂再问吧)
1 -startup 2 plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar 3 --launcher.library 4 plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130521-0416 5 -product 6 org.eclipse.epp.package.jee.product 7 --launcher.defaultAction 8 openFile 9 --launcher.XXMaxPermSize 10 256M 11 -showsplash 12 org.eclipse.platform 13 --launcher.XXMaxPermSize 14 256m 15 --launcher.defaultAction 16 openFile 17 --launcher.appendVmargs 18 -vm 19 D:/jdk/jdk1.7.0_51/jre/bin/client/jvm.dll 20 -vmargs 21 -Dosgi.requiredJavaVersion=1.6 22 -Xms40m 23 -Xmx512m
也有如下改法的,但我不喜欢这么改,除了会有eclipse进程外还会启动个java进程
1 -vm 2 C:/jdk7/bin/javaw.exe
时间: 2024-12-28 06:10:39