java - JavaFX packages not found -
i trying create project combined swing , javafx components javafx packages not found ide (tried netbeans , eclipse).
import javafx.embed.swing.jfxpanel;
says package javafx.embed.swing.jfxpanel not exist
, same other fx packages.
this happens when create project using new project > java application
, if seek create javafx sample, works...
i have no thought missing here. here background info , steps have tried:
i using win7 , jdk7 (in java fx should included) my project in netbeans (version 8) has jdk 1.7 selected deafult library i updated path:java_home: c:\program files\java\jre7
and scheme path: %systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\v1.0\;c:\program files\intel\dmix;c:\program files\java\jdk1.7.0_17\jre\bin;c:\dev\ant\bin;c:\program files\tortoisesvn\bin;c:\program files\java\jdk1.7.0_17\jre\lib\jfxrt.jar
what else should create javafx work? troubleshooting... info setting javafx far seem outdated.
you must include in project in ide jfxrt.jar
otherwise not included default behavior prior java 8.
then depending on scheme , way build jar project, , must there running jar
. create project export required libraries.
java javafx
No comments:
Post a Comment