首页 > 技术文章 > 配置ini指定eclipse启动JDK版

abinxm 2015-11-10 14:18 原文

eclipse mars1 需要JDK 1.7+

解决方案:

 

改eclipse.ini配置文件

  

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-VM
Y:/jdk8u65/jre/bin/client/jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m

推荐阅读