1:获得插件工程的路径:
path = Platform.asLocalURL(
Activator.getDefault().getBundle().getEntry("")).getPath();
2:得到eclipse.exe的绝对路径:
System.out.println(new File("").getAbsolutePath());
3:得到运行时runtime路径
System.out.println( Platform.getInstanceLocation().getURL().getPath());