How To Setup IntelliJ 2021.3, JavaFX 17.0.1, JDK 17.0.1 and Scene Builder 17.0.0 on Windows 11 x64

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this tutorial i will show you how to install intellij 2021.3 for java fx17 also how to setup and then build executive jar file let's download a latest version of intellij ide i'm going to download community editions okay it will take about six seven minutes to download double click and wait not it okay this is the welcome screen next this is where we are going to install 2021.3 next i prefer to have a desktop shortcut next install let's run intellij i will now import okay so this is intellij 2021.3 so we're going to create javafx project using rocker jdk 17.0.1 next i will not use any dependencies finish okay don't show tips close it okay i will close it too so let's have a look this is intellij id 2020 1.3 community edition so by default this project will be built with maven it means we are doing modular programming okay there's nothing much to change okay so just wait for a while it's doing uh indexing with the jdk 17 and reserving some dependencies basically is downloading necessary files using maven okay it seems okay now let me close it again so now we are going to go to settings and look for languages in framework javafx we are going to add sync builder some building 17 is on the c drive users your username and then hidden folder called app data so let's turn it on apply okay look for app data local folder name is sim builder okay let's copy this path okay we are going to use inbuilder.exe pasty then when you open it it will direct to the folder then we can select same build.exe i find this way is easier to location builder apply okay so let's open xml file in some builder it's a simple demonstration so let me make a minor change to fxml documents so if you look at here buoy box looks quite small so let me adjust the size widths and heights i will change to 600 by 400 pixels okay power button i will change the text to be a tablet effects hello world let's save and return to intellij build project and you can run it edit configuration add new configuration application you can name as a app jdk17 main class is hello application apply bloody okay this is the one click welcome to zava fx application so this is how you can create a simple javafx application using sim builder 17 next step i'm going to remove a module import server for non-modular programming using refactor delete once you delete go to project structure we are not using maven so let's remove it all we can add the sub fx java by ourselves in my case it's on the program files java javafx sdk 17.0.1 point to library directory okay just make sure you point to library apply okay now your project can use external javafx library let's build ok box let's try to learn it okay job fx long time components are missing so we need to use vm options when you run this project let's go to edit configuration okay add new application let me name it as app here main class hello application same okay modify options look for add premium options so we're going to type module pass to a javafx sdk library you can copy paste paths to javafx library copy paste this interval quotation then add modules we are going to use only two modules tab ipx controls and then javafx fxml apply okay let's try to run it again okay as you can see we are using java and then with additional model paths to run some fx controls and fxml so here is the one so we can do non-modular programming okay now next step let's create a executable jar for vulnerable jar let's create a new class called app and we can call for main method belongs to hello application class arguments that's it this is what we are going to use for eugene tubja okay we are calling for these main methods project structure artifacts okay add from module with dependencies just make it your main class this time you select app okay now we are going to use a file and finally we are going to select all dll files apply ok and then let's build artifacts by default is going to create folder call out then there will be a jar file on the project name so there will be a project name open in windows explorer inside you have javafx hello world dot you can double click here you go now this is how you can create the ejectable java file then you can distribute it with java long-time environment so this is how you can set up intellij 2021.3 for zaba fx17 that's all thank you
Info
Channel: Ken
Views: 247
Rating: undefined out of 5
Keywords: Java programming language, event-driven programming, object-oriented programming, Programming, java Programming, netbeans, javafx, scene builder, java, java tutorial, javafx tutorial, apache netbeans, intellij, javafx scene builder, intellij 2021.3
Id: _j11AsUGpc8
Channel Id: undefined
Length: 11min 5sec (665 seconds)
Published: Sat Dec 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.