eclipse的运行需要java,但是当安装了多个版本的jdk后,eclipse可能就不能用了。 解决办法就是:
#eclipse 文件夹下有eclipse.ini配置文件,在文件首行添加如下信息: -vm jdk-的-目-录injavaw.exe
就是说手动的指定使用哪个javaw.exe,这里有个坑就是说64bit的eclipse要用64bit的jdk