How do I properly setup JavaFX for Eclipse Mars?

10,048

Solution 1

Remove the installed plugin and try installing it through Marketplace.

Edit after the answer was accepted: Just for clarification, it should also work in the way OP has tried it. Before one tries to troubleshoot why it's not working, it is very convenient to verify that the installation is not working from marketplace either.

Solution 2

Since JavaFX is now on default classpath, you do not need any extra plugin to create a JavaFX application. You can just create a simple Java Project in Eclispe and get started.

But, e(fx)clipse is recommended to install on Eclipse because of the extra features it adds to the IDE.

I just finished installing the e(fx)clipse plugin on my Eclipse Mars to check if your scenario can be reproduced, but unfortunately after installing the plugin & restarting Eclipse, I can create JavaFX projects.

You can either try restarting Eclipse or re-install the plugin again.

Solution 3

As mentioned in previous Question by tomsontom, you can check your status of e(fx)clips bundles. Or you can use All-In-One Download.

Share:
10,048
garlicDoge
Author by

garlicDoge

Updated on June 04, 2022

Comments

  • garlicDoge
    garlicDoge almost 2 years

    My Java specifications: JRE: 1.8_u60, JDK: 1.8_u60

    JAVA_HOME is set-up correctly.

    I´ve downloaded and installed the latest Eclipse Mars Java SDK (Eclipse Mars.1 / 4.5.1) from the official Eclipse download page and used the installer.

    I used the Eclipse update site from e(fx)clipse to install the JavaFX IDE.

    As described in the site´s tutorial I should now be able to create FX projects with File > New > Other > JavaFX ...

    But unfortunatelly I don´t have any option to create an FX project. There is no sub-section called JavaFX.

    How do I set up JFX for Eclipse Mars properly (if my setup does not work at all)? here is one more similar Question asked.