Using JavaFX and Java 1.6 on Intellij -
how can configure intellij ide point javafx sdk ?
recommendation - use later java version (7u6+) , idea's native javafx support
at minimum, use intellij idea version includes javafx support (e.g. intellij idea 12.1+), javafx distribution intellij idea javafx plugin supports (i believe that's java 7u6+).
using latest stable versions of both of these tools provide best results.
setup , use documentation intellij idea javafx 2.x+ plugin provided jetbrains.
as java7u6+ includes javafx, don't need install , use separate javafx sdk such java 1.6 javafx sdk linked in question.
if must use java 6
this approach not recommended.
install javafx sdk , use javafx ant tasks build , deploy application. search jfxrt.jar
file in distribution , create library added idea module's compile classpath. makes idea aware of javafx classes.
some things consider:
- unlike later javafx releases, javafx 2.x sdk java 6 works on windows.
- after february 2013, oracle no longer post updates of java se 6 public download sites. "existing java se 6 downloads posted of february 2013 remain accessible in java archive on oracle technology network. developers , end-users encouraged update more recent java se versions remain available public download."
the above considerations may make difficult distribute end users application build based on java 6 + javafx sdk java 6 (as may hard them obtain , install appropriate runtime).
you can see policy in practice latest version of javafx sdk java6 2.2u21, whereas latest version of javafx sdk in java 7 2.2u25 (therefore publicly available javafx sdk java 6 not receiving latest feature , security patches java 7 version receiving).
Comments
Post a Comment