Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » The import javafx cannot be resolved
The import javafx cannot be resolved [message #1696511] Tue, 26 May 2015 17:59 Go to next message
Eclipse UserFriend
Hi guys,

I'm pretty new and trying to run my first e(fx)clipse program... After creating a standard JavaFX Project I get following error "The import javafx cannot be resolved". I'm using Eclipse 4.4.2 on openSuse. The e(fx)clipse IDE was installed like in the tutorial: http://www.eclipse.org/efxclipse/index.html with "Install new Software...". My Build-Path Settings are as in the attached image. Is there something else i need to configure?

Sorry for my poor englisch and thanks in advance Wink

Regards,
patrick

  • Attachment: Error.png
    (Size: 120.40KB, Downloaded 569 times)
  • Attachment: JavaBuildPath.png
    (Size: 15.75KB, Downloaded 531 times)
Re: The import javafx cannot be resolved [message #1696616 is a reply to message #1696511] Wed, 27 May 2015 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Are you sure your java has JavaFX with it? On Linux the distros don't
ship JavaFX with their JDK so you need to install an OracleJDK.

Tom

On 27.05.15 15:18, patrick da wrote:
> Hi guys,
>
> I'm pretty new and trying to run my first e(fx)clipse program... After creating a standard JavaFX Project I get following error "The import javafx cannot be resolved". I'm using Eclipse 4.4.2 on openSuse. The e(fx)clipse IDE was installed like in the tutorial: http://www.eclipse.org/efxclipse/index.html with "Install new Software...". My Build-Path Settings are as in the attached image. Is there something else i need to configure?
>
> Sorry for my poor englisch and thanks in advance ;)
>
> Regards,
> patrick
>
>
Re: The import javafx cannot be resolved [message #1697434 is a reply to message #1696616] Wed, 03 June 2015 17:37 Go to previous message
Eclipse UserFriend
That seems to be the problem. But right now i have too less knowledge to install javafx on a linux system... So I will stick with the swift controls at first.

Thanks anyway for your help!

Regards,
Patrick
Previous Topic:Problems accessing IDE tooling with Eclipse Mars
Next Topic:Using contextvalue leads me to curious IllegalStateException
Goto Forum:
  


Current Time: Sun Jul 06 15:39:29 EDT 2025

Powered by FUDForum. Page generated in 0.24819 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top