Installing JAVA FX on Eclipse 2021-03

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello welcome to my youtube channel the intersection this short video shows you how to use javafx within eclipse ide and i will go through the process of associating javafx libraries with your project as you will see in the video i will first add the runtime components efx eclipse to eclipse itself and that will be done through eclipse and then you will and then you will see me and step number two is i will install javafx on your computer and these javafx libraries are from the internet i will go to glue on website and i will install the latest version of these libraries on my on my machine in my computer and then the third step you will see me creating a custom library and then i will associate the custom light up library to the class or the application that i will i will create and then i will correct the path and run it and you'll see the program will run so let's start and i have eclipse opened and if you can see if i click on file no project i cannot create javafx projects i can only create java application projects so the first thing we're going to do is we're going to add the plugin that will allow us to add the java effects so let me show you how to do this so let's add the plugin we're gonna click on help and then eclipse marketplace and in the dialog box with the eclipse marketplace let's type in in the search engine fx and search for that and here's the ex efx clips clips 3.70 install that accept the agreement to add all the components click finish eclipse ask to restart so restart now let's try one more time to create the effects project file new project and as you can see now we have the folder javafx that will allow us to create the javafx application so i'm going to click on the javafx let's create the project let's give our project a name hello javafx and let's accept these defaults next let's not create a modular info we don't need that for this application and select that and then click finish and here is our first javafx application that's full with errors so we need to add the javafx libraries and to do this we go to our browser here's my browser window let's make it small for your benefit then we're going to type in in the google java fx download okay javafx download as you see it here in google and search for that and i'd like to go to jfx glow on and here is the page i'm going to go for the latest releases there's 16 and 17. i'm going to download this here it is and then now i'm going to extract it and i extract it to this i extracted it to this folder in my c drive and here are the content most important is this lip or library folder so now let's go back to our eclipse here's our eclipse and we need to add these libraries to our project so to do this we are going to go to windows and then we are going to create a custom library preferences if you don't see the user node just type in user and that will take you straight to it so here's the user libraries click new and then give your custom library a name and then click ok any name you want click ok now we are going to add those libraries in our extracted folder so click add external jars and here is that folder and here is the java fx sdk 17 and here is the library folder lib folder highlight all of them and click open apply all right so now we added the libraries we need to associate the our custom class to this project so we're going to right click build bath configure build path now make sure to to click on the module path and add library user library and then select the library you just you have just created click finish apply client close and here's all the errors are gone let's test here's your window of course you need to check your textbook look at the material that your instructor sent you then you can add a title you can add images you can do so many things with it so here's it's working now thank you don't forget to subscribe to my channel to get all the updates and have a beautiful day bye bye now
Info
Channel: The Intersection
Views: 2,963
Rating: undefined out of 5
Keywords: JavaFX, Eclipse 2021-03, Eclipse, CIS, 2212, Mohamed, Ali, Sinclair, e(fx)clipse
Id: c1JARztHF2E
Channel Id: undefined
Length: 6min 50sec (410 seconds)
Published: Tue Apr 06 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.