找到eclipse的安装目录, 找到eclipse.ini文件,在文件第一行加入
-vm
D:\Program Files\jdk1.6.0_17\jre\bin
这个路径是你的JRE的路径,我是不想配置环境变量,在这里设置比较方便
-vm
D:\Program Files\jdk1.6.0_17\jre\bin
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
本文指导如何在Eclipse中配置JRE路径,并详细解释了相关参数的作用。
2万+

被折叠的 条评论
为什么被折叠?



