[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Attached are a screenshot showing a JavaFX model in ICE and a set of instructions for configuring Eclipse to properly use JavaFX in a plug-in for ICE.
|
Instructions for using JavaFX in ICE:
1)Download an install the Java SE Development Kit.
2)In Run -> Run Configurations, make sure the Execution Environment is JavaSE-1.8 (jdk1.8.0_45). (Your jdk version may be higher.)
3)Open mars.target and add the location software site https://download.efclipse/runtime-nightly/site. Check only RCP 3.x Target Platform Feature under the FX Target node.
4)Set mars.target as the target platform.
5)Right click your package in the package explorer choose Build Path -> Configure Build Path. In the Libraries tab select Add External JARs... and add ...\Java\jdk1.8.0_45\jre\lib\jfxswt.jar and ...\Java\jdk1.8.0_45\fre\lib\ext\jfxrt.jar. (Your jdk version may be higher.)
6)In Run->Run Configurations, in the Plug-ins tab, make sure that org.eclipse.fx.javafx, org.eclipse.fx.osgi, and org.eclipse.fx.ui.workbench3 are checked. In the Arguements tab, add -Dosgi.framework.extensions=org.eclipse.fx.osgi to the end of your VM arguments.
You should now be able to run JavaFX in ICE.
Attachment:
JavaFX in ICE.png
Description: JavaFX in ICE.png