强制Eclipse使用JDK运行

打开eclipse根目录下的eclipse.ini文件,在
-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
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m

256m后面添加:
-vm
C:/Program Files/Java/jdk1.6.0_24/bin/javaw.exe

你可能感兴趣的:(eclipse,jdk,C++,c,C#)