eclipse java 启动_Eclipse启动机制(1)

protectedvoidbasicRun(String[] args)throwsException {

System.getProperties().put("eclipse.startTime", Long.toString(System.currentTimeMillis()));//$NON-NLS-1$

commands= args;

String[] passThruArgs = processCommandLine(args);

if(!debug)

// debug can be specified as system property as well

debug= System.getProperty(PROP_DEBUG) !=null;

setupVMProperties();//设置VM属性

processConfiguration();//读取configuration/config.ini配置文件

// need to ensure that getInstallLocation is called at least once to initialize the value.

// Do this AFTER processing the configuration to allow the configuration to set

// the install location.

getInstallLocation();

// locate boot plugin (may return -dev mode variations)

URL[] bootPath = getBootPath(bootLocation);

//Set up the JNI bridge. We need to know the install location to find the shared library

setupJNI(bootPath);

//ensure minimum Java version, do this after JNI is set up so that we can write an error message

//with exitdata if we fail.

if(!checkVersion(System.getProperty("java.version"), System.getProperty(PROP_REQUIRED_JAVA_VERSION)))//$NON-NLS-1$

return;

setSecurityPolicy(bootPath);//设置执行权限

// splash handling is done here, because the default case needs to know

// the location of the boot plugin we are going to use

handleSplash(bootPath);

beforeFwkInvocation();

invokeFramework(passThruArgs, bootPath);//启动Eclipse内核

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值