Eclipse移动路径后启动报错
例如从 C:/Program Files/MyEclipse 8.0/ 移动到file:/D:/Program Files/MyEclipse 8.0/
需要手动修改三个配置文件。
1、D:\Program Files\MyEclipse 8.0\MyEclipse 8.x Latest\myeclipse.ini
修改里面的盘符
2、修改D:\Program Files\MyEclipse 8.0\MyEclipse 8.x Latest\configuration\config.ini
修改为
#Generated by Pulse at Tue May 25 17:22:43 CST 2010
#Tue May 25 17:22:43 CST 2010
com.genuitec.pulse.client.handshake.id=be73ef03-7740-40cc-8ad2-58a124777c3e
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.poweredbypulse.profile-0-rb-421401
osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.x Latest
osgi.framework=file\:D:\\Program Files\\MyEclipse 8.0\\Common\\plugins\\org.eclipse.osgi_3.5.0.v20090520.jar
com.genuitec.pulse.client.credentials=OPs49adosB/AFl7ts/xYM8QVuQJpXVUh0xg7UP6zCXyVK0QpSQnC3TebbWlZj87oxPQCHDTksRs5 PKu1jeCONpJWS0JZS39viGqPzvWjE68Cwkdc/ca9sdE8xCjA74uZ1BuCCa+q/hFPydI8JIJ9hXba CtMAFMRD6y9Bi+sRy00\=
com.genuitec.pulse.client.blueprint.id=rb-421401
com.genuitec.pulse.common.server.url=https\://www.poweredbypulse.com\:443
osgi.bundles=reference\:file\:D:\\Program Files\\MyEclipse 8.0\\Common\\plugins\\org.eclipse.equinox.simpleconfigurator_1.0.102.v200909260100.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:D:\\Program Files\\MyEclipse 8.0\\Common\\plugins\\org.eclipse.equinox.simpleconfigurator\\bundles.info
eclipse.product=com.genuitec.myeclipse.product8.ide
osgi.splashPath=platform\:/base/plugins/com.genuitec.myeclipse.product8
osgi.framework.extensions=
eclipse.p2.data.area=file\:/D\:/Program Files/MyEclipse 8.0/Common/configuration/
osgi.bundles.defaultStartLevel=4
com.genuitec.pulse.client.basedir.location.override=D\:\\Program Files\\MyEclipse 8.0
3、D:\Program Files\MyEclipse 8.0\MyEclipse 8.x Latest\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info
查找所有的file:/C:/Program Files/MyEclipse 8.0/,替换为file:/D:/Program Files/MyEclipse 8.0/
如果盘符或者目录不相同请自行修改