---
title: "Eclipse插件"
author: "giga_Zhang"
date: "2012-03-23T15:17:55Z"
tags: []
categories: ["开源软件"]
slug: "eclipse"
draft: false
lastmod: "2012-03-23T15:17:55Z"
id: 1462511
url: "https://zjsoft.iteye.com/blog/1462511"
---

一：Eclipse Software Update  
Help &gt; Install New Software &gt; Add  
二：Market  
Help &gt; Eclipse Marketplace...  
二：下载插件  
把解压的文件分别拷贝到eclipse  
plugins  
features  
重启eclipse  
如果插件不能升效，则请eclipse/configuration/org.eclipse.update目录删除后再启动eclipse:)  
三：LINK 文件方式：  
插件解压到eclipse/XXX/eclipse/plugins\*features  
建目录eclisep/links  
目录下面添加link文件,内容：path=eclipse//XXX或path=XXX或path='绝对路径'  
说明：  
　　1.插件可以分别安装在多个自定义的目录中。  
　　2.一个自定义目录可以安装多个插件。  
　　3.link文件的文件名及扩展名可以取任意名称，比如plugin.txt,plugin,plugin.link都可以。  
　　4.link文件中path=插件目录的path路径分隔要用//或是/  
　　5.在links目录也可以有多个link文件，每个link文件中的path参数都将生效。  
　　6.插件目录可以使用相对路径。  
　　7.可以在links目录中建立一个子目录，转移暂时不用的插件到此子目录中，加快eclipse启动。  
　　8.如果安装后看不到插件，把eclipse 目录下的configuration目录删除，重启即可。

有时启动Eclipse未加载插件，解决方法很多：  
a、删除整个目录/eclipse/configuration/org.eclipse.update/，重启Eclipse  
　　b、在启动Eclipse时带上 -clean参数。如：d:/eclipse/eclipse.exe -clean  
　　c、如果Eclipse启动找不到插件,在/configuration/config.ini文件中加入一行osgi.checkConfiguration=true(我的环境无效，网上多推荐,可以试一下)  
d、删除workspace  
e、%eclispe\_dir%/configration/config.ini文件，发现里面有一项org.eclipse.update.reconcile=false配置，改成true后重新进入eclipse