1

Hey I just installed e(fx)clipse plugin for eclipse and created a new JavaFX project.

The thing is all the javafx imports can`t be resolved, even though the Library seems to in the build path. Here are some screenshots to show you what I mean:

here you see the errors build path here is what happens if I try to add the library manually

Somebody knows what I am doing wrong?

Jakob Abfalter
  • 4,980
  • 17
  • 54
  • 94
  • 1
    Your e(fx)clipse can't find the `jfxrt.jar`. Try reinstalling the pluging or you can manually add the jar to your build path ! – ItachiUchiha Mar 13 '14 at 20:22
  • Try removing the JavaFX SDK from your build path and add it manually via "Add Library" again – Lukas Leitinger Mar 14 '14 at 07:32
  • In case you run E(fx)clipse under Ubuntu 15.04 (or higher) this could be helpful: http://stackoverflow.com/a/34244308/2849346 – MWiesner Dec 12 '15 at 20:33

1 Answers1

0

Fixed it by adding the 'jfxrt.jar' manually

Jakob Abfalter
  • 4,980
  • 17
  • 54
  • 94
  • Well - we'd better find out why the jfxrt.jar is not found let's debug that in our forum – tomsontom Mar 13 '14 at 20:35
  • In case you run E(fx)clipse under Ubuntu 15.04 (or higher) this could be helpful: http://stackoverflow.com/a/34244308/2849346 – MWiesner Dec 12 '15 at 20:33