InternalPlatform.getDefault().getInstanceLocation(); 获得eclipse路径,workspace路径。 转载于:https://my.oschina.net/zhenghuazhi/blog/199099