在Eclipse Luna中安装JavaFX

时间:2015-08-30 01:31:46

标签: java eclipse javafx

我正在尝试使用these instructions将JavaFX安装到我的Eclipse(版本Luna Service Release 2(4.4.2)),但我收到以下错误消息:

Cannot complete the install because one or more required items could not be found.
Software being installed:
    e(fx)clipse - IDE 2.0.0.201506111511 (org.eclipse.fx.ide.feature.feature.group 2.0.0.201506111511)

Missing requirement:
    org.eclipse.fx.ide.l10n 2.0.0.201506111511 (org.eclipse.fx.ide.l10n 2.0.0.201506111511) requires 'bundle org.eclipse.equinox.common 3.7.0' but it could not be found

Cannot satisfy dependency:
    From: e(fx)clipse - IDE 2.0.0.201506111511 (org.eclipse.fx.ide.feature.feature.group 2.0.0.201506111511)
    To: org.eclipse.fx.ide.l10n.feature.feature.group [2.0.0.201506111511]

Cannot satisfy dependency:<br>
    From: e(fx)clipse - IDE - l10n support 2.0.0.201506111511 (org.eclipse.fx.ide.l10n.feature.feature.group 2.0.0.201506111511)
    To: org.eclipse.fx.ide.l10n [2.0.0.201506111511]

我正在使用JRE 8,编译器合规性级别设置为1.8,如果这有任何帮助。我需要做些什么来使其发挥作用?

1 个答案:

答案 0 :(得分:1)

那些指令说Eclipse 4.5(Mars)是必需的,他们的意思是,Eclipse 4.4.2不会这样做。

详细信息错误消息告诉您需要org.eclipse.equinox.common插件的3.7.0版本 - 这仅在Eclipse 4.5中。

Releases页面涵盖旧版Eclipse的早期版本。然而,Eclipse Mars的版本是2.0版本(从1.2开始),因此您可能希望切换到Mars以获取最新代码。