This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JavaFX and the fly likes How can I start up JavaFx in Eclipse with JSE 7 update 7? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "How can I start up JavaFx in Eclipse with JSE 7 update 7?" Watch "How can I start up JavaFx in Eclipse with JSE 7 update 7?" New topic
Author

How can I start up JavaFx in Eclipse with JSE 7 update 7?

spk Joness
Greenhorn

Joined: Oct 08, 2012
Posts: 2
Just downloaded JSE 7 update 7, want to develop my first hello world app in Java Fx......But cant find anythin JavaFx about my Eclipse ....Plse help [JavaFx newbie].... Tnx in advance
Dennis Grimbergen
Ranch Hand

Joined: Nov 04, 2009
Posts: 142

Do you have a maven project? In IntelliJ (which I use), and probably also Eclipse, there is no JavaFX support in a convenient way (If I remember well, Netbeans has). What I did was install the javafx runtime library (jfxrt.jar) in my local repository and then simply add a dependency to it in the pom.xml file. Probably you also need to add this library somewhere in your project settings in Eclipse to make it work and run from your IDE. From then you can just use the JavaFX API and start coding


SCJP, SCWCD, SCJD
spk Joness
Greenhorn

Joined: Oct 08, 2012
Posts: 2
So i guess I need to add jfxrt.jar to my build path.........Tnx!
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 147
    
    9
You should use the e(fx)clipse plugin.

http://efxclipse.org/install.html#the-lazy-ones
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I start up JavaFx in Eclipse with JSE 7 update 7?