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

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

我需要 e(fx)clipse Window Builder 来开发我的应用程序。我正在使用 Windows XP Java 8 不受支持。我必须使用旧版本的 e(fx)clipse 来支持 Java 7。我到处查看如何执行此操作,但所有来源都引导我通过(安装新软件)安装最新版本Eclipse 中的功能。这对我不起作用,因为我找不到旧版本软件的正确 p2 link。请帮忙。

以下是离线安装插件的步骤。

  1. 打开 WindowBuilder Pro download page,单击 Zipped Update Site 下的 link。如果您使用的是Eclipse 3.8,可以下载WB v1.7进行离线安装。
  2. 如果您不想安装额外的插件,select 菜单项 Windows > Preference。然后 select 树项 Install/Update > Available Software Sites,取消选中所有项并按 OK 关闭它。
  3. 将下载的 zip 文件解压缩到一个文件夹(不要使用 Windows...的文件浏览器)
  4. Select 菜单项 Help > Install New Software...。单击 Add... 按钮和 Local... 按钮以 select 前面步骤中的文件夹。
  5. Eclipse 将列出可供安装的功能。您可以 select 功能并单击 Next 按钮。您可能会收到如下错误:
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]

在这种情况下,您可以取消select功能:WindowBuilder Core for XML and SWT Designer XWT Support.由于它们依赖于 Eclipse webtools 的插件...(或在安装 WB 之前安装 Eclipse webtools)

所有错误消失后,接受许可协议并单击Next 完成安装。然后重启Eclipse就可以使用WB了