Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
spk Joness
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 159
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
spk Joness
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i guess I need to add jfxrt.jar to my build path.........Tnx!
 
John Damien Smith
Ranch Hand
Posts: 270
13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should use the e(fx)clipse plugin.

http://efxclipse.org/install.html#the-lazy-ones
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic