Eclipse-设置启动JDK版本

来源:互联网 发布:银河编辑器数据 编辑:程序博客网 时间:2024/05/01 20:52

打开eclipse安装目录下的eclipse.ini文件,将红色内容加入

-vm
../Java/jdk1.6.0_26/bin
(或者指向具体目录:D:/software/jdk_1.8u91/bin)
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
原创粉丝点击