eclipse启动顺序___________________________________________________________
参考http://www.blogjava.net/asktalk/archive/2007/12/22/169593.html
启动机制
1:eclipse.exe-->加载./eclipse.ini
eclipse.ini文件
//2, : 指定入口类(带main方法的类)
-startup //指定入口类(带main方法的类)
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
eclipse加载JRE顺序___________________________________________________________
1, eclipse.ini 中-vm参数
2, E:\eclipse\jre\bin\javaw.exe 中
3, $PATH环境变量中找
三者都找不到就报以下错误:
No java virtual machine was found after searching the follwing locations:E:\eclipse\jre\bin\javaw.exe javaw.exe in your current path.