Java Eclipse:如何手动安装插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31553376/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 11:14:31  来源:igfitidea点击:

Eclipse: How to install a plugin manually?

javaeclipse

提问by Harsh S.

In one of my production environment, we have download restrictions so we have to download Eclipse plugin jar/zip file externally and then copy back to internal network and do the installation manually. Plugins to install are TestNG, C++ CDT etc.

在我的一个生产环境中,我们有下载限制,所以我们必须从外部下载 Eclipse 插件 jar/zip 文件,然后复制回内部网络并手动安装。要安装的插件有 TestNG、C++ CDT 等。

Would appreciate step-by-step instructions to perform the above task and would this manually installation have the same outcome as if we do it from Eclipse install new software option like for example- automatically creating menu option for TestNG etc.?

希望得到执行上述任务的分步说明,这种手动安装是否与我们从 Eclipse 安装新软件选项(例如自动创建 TestNG 的菜单选项等)中执行此操作的结果相同?

采纳答案by Kyaw Zin Htun

You can try this

你可以试试这个

click Help>Install New Software on the menu bar

单击菜单栏上的帮助>安装新软件

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

回答by Cos64

  1. Download your plugin
  2. Open Eclipse
  3. From the menu choose: Help/ Install New Software...
  4. Click the Addbutton
  5. In the Add Repositorydialog that appears, click the Archivebutton next to the Locationfield
  6. Select your plugin file, click OK
  1. 下载你的插件
  2. 打开日食
  3. 从菜单中选择:Help/Install New Software...
  4. 点击Add按钮
  5. Add Repository出现的对话框中,单击字段Archive旁边的按钮Location
  6. 选择你的插件文件,点击 OK

You could also just copy plugins to the eclipse/pluginsdirectory, but it's not recommended.

您也可以将插件复制到eclipse/plugins目录中,但不建议这样做