codejammer建议:
下面给出了安装位置
代码语言:javascript复制Platform.getInstallLocation().getURL()请参阅org.eclipse.core.runtime.Platform API
代码语言:javascript复制/**
* Returns the location of the base installation for the running platform
* null is returned if the platform is running without a configuration location.
*
* This method is equivalent to acquiring the org.eclipse.osgi.service.datalocation.Location
* service with the property "type" equal to {@link Location#INSTALL_FILTER}.
*
* @return the location of the platform's installation area or null if none
* @since 3.0
* @see Location#INSTALL_FILTER
*/