2 Replies Latest reply: Jan 18, 2013 12:18 PM by gimbal2 RSS

    How can I run javafx2.2.4 on eclipse

    985762
      My environment is MacOS 10.8
      I want to run javafx2.2.4 on eclipse with JDK7_11

      Any one can show me how to do that?
        • 1. Re: How can I run javafx2.2.4 on eclipse
          James_D
          The easiest way is to use the e(fx)clipse plugin, which you can download from http://marketplace.eclipse.org/content/efxclipse#.UPlblqGLx4U

          Then create projects with File -> New -> Other -> JavaFX -> JavaFX Project and you should be set.

          Failing that you can just add the jfxrt.jar file as a library to a regular project (Project -> Properties -> Java Build Path -> Libraries -> Add external jar, and navigate to /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/jre/lib/jfxrt.jar).
          • 2. Re: How can I run javafx2.2.4 on eclipse
            gimbal2
            Myself, I'd probably follow what is provided in this blog:

            http://loop81.blogspot.nl/2012/03/javafx-2-get-started-with-maven-eclipse.html

            but the fact that Maven is involved might be a step too far depending on your current experience level.