简体   繁体   English

如何为Java Eclipse手动安装e(fx)clipse插件?

[英]How to manually install e(fx)clipse addon for Java Eclipse?

I need the e(fx)clipse Window Builder to develop my application. 我需要e(fx)clipse Window Builder来开发我的应用程序。 I am using Windows XP Java 8 is unsupported. 我正在使用Windows XP,不支持Java 8。 I must use an older version of e(fx)clipse to that supports Java 7. I've looked everywhere on how to do this but all sources are leading me to installing the latest version via the (Install New Software) feature in Eclipse. 我必须使用支持Java 7的e(fx)clipse的旧版本。我到处都在寻找如何执行此操作的方法,但是所有消息源都引导我通过Eclipse中的(安装新软件)功能来安装最新版本。 This doesn't work for me as I cannot find the correct p2 link for older versions of the software. 这对我不起作用,因为我找不到适用于较早版本软件的正确p2链接。 Please help. 请帮忙。

Here is the steps for offline install plugins. 这是离线安装插件的步骤。

  1. Open WindowBuilder Pro download page , click the link under Zipped Update Site . 打开WindowBuilder Pro下载页面 ,单击“ 压缩更新站点”下的链接。 If you are using Eclipse 3.8, you can download WB v1.7 for offline install. 如果使用的是Eclipse 3.8,则可以下载WB v1.7进行脱机安装。
  2. If you don't want to install extra plugins, select menu item Windows > Preference . 如果您不想安装额外的插件,请选择菜单项Windows > Preference Then select tree item Install/Update > Available Software Sites , uncheck all items and press OK to close it. 然后选择树项“ Install/Update > Available Software Sites ,取消选中所有项,然后按“ OK将其关闭。
  3. Unpack the downloaded zip file to a folder (do NOT use the file expleror of Windows...) 将下载的zip文件解压缩到一个文件夹中(不要使用Windows的文件解释器...)
  4. Select menu item Help > Install New Software... . 选择菜单项Help > Install New Software... Click Add... button and Local... button to select the folder in previous steps. 单击Add...按钮和Local...按钮以在前面的步骤中选择文件夹。
  5. Eclipse will list avaiable features for install. Eclipse将列出可用的安装功能。 You can select the features and click Next button. 您可以选择功能,然后单击Next按钮。 You may get errors such as: 您可能会遇到以下错误:
Cannot complete the install because one or more required items could not be found.
  Software being installed: SWT Designer XWT Support (requires Eclipse WTP/WST) 1.7.0.r42x201405021548 (org.eclipse.wb.xwt.feature.feature.group 1.7.0.r42x201405021548)
  Missing requirement: WindowBuilder Core for XML GUI's 1.7.0.r42x201405021458 (org.eclipse.wb.core.xml 1.7.0.r42x201405021458) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: SWT Designer XWT Support 1.7.0.r42x201405021548 (org.eclipse.wb.xwt 1.7.0.r42x201405021548)
    To: bundle org.eclipse.wb.core.xml 0.0.0
  Cannot satisfy dependency:
    From: SWT Designer XWT Support (requires Eclipse WTP/WST) 1.7.0.r42x201405021548 (org.eclipse.wb.xwt.feature.feature.group 1.7.0.r42x201405021548)
    To: org.eclipse.wb.xwt [1.7.0.r42x201405021548]

In this case, you can unselect features: WindowBuilder Core for XML and SWT Designer XWT Support . 在这种情况下,您可以取消选择功能: XML的WindowBuilder CoreSWT Designer XWT支持 Since they depend on the plugins of Eclipse webtools... (Or install Eclipse webtools before install WB) 由于它们取决于Eclipse Webtools的插件...(或在安装WB之前安装Eclipse Webtools)

Once all errors gone, accept the license agreement and click Next to finish the installation. 一旦所有错误消失,请接受许可协议,然后单击“ Next完成安装。 Then you can use WB after restarting Eclipse. 然后,您可以在重新启动Eclipse之后使用WB。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM