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
Eclipse: How to install a plugin manually?
提问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
单击菜单栏上的帮助>安装新软件
回答by Cos64
- Download your plugin
- Open Eclipse
- From the menu choose:
Help
/Install New Software...
- Click the
Add
button - In the
Add Repository
dialog that appears, click theArchive
button next to theLocation
field - Select your plugin file, click
OK
- 下载你的插件
- 打开日食
- 从菜单中选择:
Help
/Install New Software...
- 点击
Add
按钮 - 在
Add Repository
出现的对话框中,单击字段Archive
旁边的按钮Location
- 选择你的插件文件,点击
OK
You could also just copy plugins to the eclipse/plugins
directory, but it's not recommended.
您也可以将插件复制到eclipse/plugins
目录中,但不建议这样做。