Tôi đã cài đặt JavaFX 2.0 SDK và bây giờ tôi muốn làm một ứng dụng JavaFX với Eclipse. Nhưng làm thế nào tôi có thể sử dụng các lớp học javafx.*
trong Eclipse?Làm thế nào để sử dụng JavaFX 2 SDK trong Eclipse?
official JavaFX Eclipse plugin dường như dành cho JavaFx 1.2 và lỗi thời.
Khi tôi cố gắng để cài đặt e(fx)clipse plugin, tôi nhận được lỗi này:
Cannot complete the install because one or more required items could not be found.
Software being installed: efxclipse 0.0.8.201111131640 (at.bestsolution.efxclipse.feature.feature.group 0.0.8.201111131640)
Missing requirement: Eclipse DI integration for JavaFX 0.0.8.201111131640 (at.bestsolution.efxclipse.runtime.di 0.0.8.201111131640) requires 'bundle org.eclipse.e4.core.contexts 0.9.0' but it could not be found
Cannot satisfy dependency:
From: efxclipse 0.0.8.201111131640 (at.bestsolution.efxclipse.feature.feature.group 0.0.8.201111131640)
To: at.bestsolution.efxclipse.runtime.feature.feature.group [0.0.8.201111131640]
Cannot satisfy dependency:
From: FX Runtime 0.0.8.201111131640 (at.bestsolution.efxclipse.runtime.feature.feature.group 0.0.8.201111131640)
To: at.bestsolution.efxclipse.runtime.di [0.0.8.201111131640]
Guys, vẫn lưu ý rằng đề cập e (fx) clipse plugin là không bắt buộc nhưng hữu ích và đang được tích cực phát triển. Vì vậy, nếu bạn là người dùng Eclipse, bạn có thể muốn theo dõi e (fx) blog tác giả clipse: http://tomsondev.bestsolution.at/ –
Mất một lúc để tìm, nhưng sau khi cài đặt Java 7u5, tệp jfxrt.jar là trong (cho Windows) C: \ Program Files \ Oracle \ JavaFX xx sdk \ rt \ lib \ – Richard
nhờ Segrey ... và Richard. Không thể tìm thấy nó ở bất cứ nơi nào .. nghĩ rằng tôi đã mất nó. Oracle! – HellishHeat