如何将.jar文件安装到Eclipse中? [英] How to install .jar files into Eclipse?

查看:161
本文介绍了如何将.jar文件安装到Eclipse中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个Eclipse插件项目并成功导出.jar文件。但是,在我将.jar文件复制到Plugins文件夹(也尝试了dropins文件夹)并重新启动Eclipse之后,仍然找不到Eclipse安装详细信息中的插件。


$ b $我从Eclipse Marketplace(Any One)安装一个插件后,我可以在Eclipse安装详细信息中找到我的插件。有谁知道为什么?

解决方案

当您导出插件时,推测通过插件导出向导 - 看看导出选项第一页)安装到主机存储库。使用它,您可以直接从向导更新p2导演。


I have written a Eclipse plugin project and successful export the .jar files. But after i copyed .jar files into the Plugins folder (tried also the dropins folder)and restarted the Eclipse, i still can't find the plugin in the "Eclipse Installation Details".

After i install a plugin from Eclipse Marketplace(Any One), i can find my plugin in the "Eclipse Installation Details".Does anyone know why?

解决方案

When you export your plug-in - presumedly via the Plug-in Export Wizard - have a look at the export option (first page) "Install into host repository". Using this you can update the p2 director directly from the wizard.

这篇关于如何将.jar文件安装到Eclipse中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆