JavaFX install & setup (IntelliJ) 💡
HTML-код
- Опубликовано: 27 янв 2025
- Setting up JavaFX for IntelliJ is not that bad...
openjfx.io/
1. (00:20:24) Download JavaFX SDK
2. (01:19:16) Create a new project
3. (02:06:14) Add SDK library
4. (02:43:18) Add VM options
Linux/Mac: --module-path /path/to/javafx-sdk-15.0.1/lib --add-modules javafx.controls,javafx.fxml
Windows: --module-path "\path\to\javafx-sdk-15.0.1\lib" --add-modules javafx.controls,javafx.fxml
------------------------------
Up In My Jam (All Of A Sudden) by - Kubbi / kubbi
Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
Free Download / Stream: bit.ly/2JnDfCE
Music promoted by Audio Library • Up In My Jam (All Of A...
------------------------------
#JavaFX #IntelliJ #setup
openjfx.io/
1. (00:00:20) Download JavaFX SDK
2. (00:01:19) Create a new project
3. (00:02:06) Add SDK library
4. (00:02:43) Add VM options
Linux/Mac: --module-path /path/to/javafx-sdk-15.0.1/lib --add-modules javafx.controls,javafx.fxml
Windows: --module-path "\path\to\javafx-sdk-15.0.1\lib" --add-modules javafx.controls,javafx.fxml
ÇA MARCHE PAS !!!!!!!!!
For newer versions of IntelliJ (today 5.12.2022), after creating project in intelij, just run it, than go to run/ edit configuration, than in 'Build and run' section press 'Modify options' and select from 'Java' section the ' Add VM option' . Then everything is as in the video says
Thank you
Thank you!!!
Thanks!
Thanks ya!
Thankss
it always takes me 5 times as long to set up the configurations for things like this than to learn the things i actually want to learn, appreciate the video.
GUYS IN LATES VERSIONS(21) THERE'S NO NEED FOR THE ADD VM. u can run it without adding path to vm. Spent hours figuring it out. Now trying to be some help :)
Life saver bro.
Much appreciation
Thanks bro
Thank you! Removed that, and now it works!
Exactly! You made my day bro 🎉.
thanks lol just spant an hour with it
I was watched almost all of your Java beginner tutorials and now low and behold you have a javaFX tutorial, i am looking forward to learning javaFx and i couldnt ask for a better teacher.
also at 3:29 the end screen popups appear and are there until 3:50
Thank you for your tutorial, was stuck in my studies with just creating the first Java Fx doc. You saved me from a lot of frustration, these things get complex and you don't know where to look anymore, thank you!
if you can't find vm options enabled enable it by clicking on the "modify options " beside build and run and then check a mark on add vm options
thanks man! :))
tks man
You are a lifesaver
Thanks
You’re a literal lifesaver. Thank you!
omg lifesaver! pls do continue this series T_T
Just keep on with this channel. You'll hopefull0y catch the algo wave soon. Good job.
Thanks Gerhard!
@@BroCodez Pleasure, sharing your videos with connections......
I couldn't run a JavaFX but after watching your video I figured out how to make it work.
Thank you so much, man. I was finding this only.
I think this channel will hit 100,000 subscribers soon!
whoa! That's a large jump! I'd be happy with 10,000 even lol
@@BroCodez here after 2 mil
is now 2.5million
😁
Thanks for this tutorial. I decided to switch IDE from Eclipse to IntelliJ because I find IntelliJ more intuitive. This video is of great help to setup
bro hug, 2 hours of pain and you got me fixed
Thanks for the video!
the setup worked for me. I used IntelliJ 2022. I did run into problem because I included those additional libraries such as BootstrapFX, ControlsFX, FormsFX, ... but once I didn't tick those boxes. it ran!
Beautiful detailed explanation. Not as if it was a dificult thing but in its genre its perfect.
Best tutorial i have seen till now.
Im running IntelliJ 2023 and I didnt have to do anything to make this work compared to Eclipse's 10 steps. Guess they improved the IDE :)
Can you tell me steps to install javaFX ?
This saved me, he gives step by step instructions that can be followed by a first grader THANKS!
You're great man...you saved my coding career.
Moving over from Eclipse to try IntelliJ for the first time all while learning JavaFX (our book sucks, too drawn out... too much info) - looking forward to watching your tutorials over the weekend! :)
javafx is the messiest framework/libary to set up i've ever encountered
Light, fast and accurate, thanks for this video bro, you're awesome
I love you're videos man. Thank you so much
Unfortunately the new version of intellij is more complicated in terms of creating a new javaFX project. It has lots of advanced options. I have no clue what should I select. It asks for Group, Artifact and dependancies. Also it forces me to choose either Maven or Gradle. I am so confused.
Have you figured out what we need to create a project in JavaFX? Maven or Gradle, which should I choose?
or what sources do you recommend to study javaFX on inteliji?
better explained than my tutor, thanks man
Thanks precise and to the point just what I wanted, professors should give this videos link instead of pdf instructions.
If it helps -> IntelliJ Version 2020.3. - I have to add SDK in Libraries and Modules/Dependencies as well.
about VM path is located Run/ AddConfigurations/ Modify Options/ Add VM Options.
Good Luck 😎
TY
Straight to the point, thank you so much sir
I just downloaded a new version of JavaFx and you don't need to add any Vm. It runs right away! I believe it was version 21.
I watched the previous video in this series, damn Eclipse sucks, it's soooooo bad. IntelliJ is the best. Nice tutorial btw, thanks man.
Thank you so much. Helped a lot. Love you bro
Ur the best bro
Thank you so much. This video really helped. God bless you sir!
Great tut
But, after adding the VM option, I get this error :
Error occurred during initialization of boot layer
java.lang.module.FindException: Module com.example.demo not found
Please help me over come this issue
hey was you able to solve this issue, if so may i know the fix?
remove the VM options
@@FazHD
@@booukes thanks, so I'll just disable the vm options and that will be fine right great thank you
@@booukes Thanks it works for me now. But what is the point of configuring the virtual machine?
Another awesome video... keep it up :)
Finally well explained. Thank you
You helped me a lot, thank you very much.
Thanks BroCode. You are just great!!!
you are GOATED :)
I can't figure out how to do this in the newest version of Intellij. I followed the instructions to perfectly. It did not work. I tried for about 2 hours.
If you select Maven, setting up run->edit config isnt necessary but if you want to do it similar to this video, apart from following all the steps mentioned, do delete module-info.class present somewhere inside classes folder. This should fix most of the issues related to "Module _ not found" Exceptions
@@unparalleleddimension1918 Thank you! I was about to give up but thank goodness I found your comment!
great video keep up man
great channel ever
Thank you for your explanation! :)
Thanks for watching Fedor!
Thank You So Much YOU'VE SAVED ME
Thank you very much. My teacher did not guide particularly this one.
your doing goo things
nice job
Top tier vid
2023 Nov 19 - IntelliJ did everything for me, didn't have to download anything, works out of the box. Was following another tutorial which had me download the SceneBuilder. I did. Not sure yet if it's gonna be needed
Thank you very much. It works now!
Amazing Video!
Gracias Totales, me sirvió de mucho, se lo agradezco!
После открытия Run -> Edit configurations не мог найти поле "VM options". Под кнопкой "Modify options" в этом же окне раскрывающийся список, там пункт "Add VM options"
bro, really human computer code🤖👾💀
Thank you so much! Appreciate this :)
Спасибо! You best)
Спасибо , помогло , хотя языка не знаю , делал по шагам !
Thank you your video really helped me
You are a life saver
Thank you very much, really thank you SO MUCH.
Excelent tutorial, I appreciate it
Thank You So Much Sir You Always help
love you Sir........!
Lifesaver !!
well I suppose IntelliJ must've improved because i just opened a JavaFX project and it got all the libraries on its own 😃 didn't need to add the sdk or type in that vm options list
Bro Code...thank you....I'm still having issues with getting JavaFX to run and play nice with the sdk i downloaded on Intellij
Can't even see the run button or the option to run the program
anyways...great channel.
love you man
Every time I create a new JavaFx project in IntelliJ it loads a HelloWorld project in it. How can I choose to create the project without a building system(empty project). I'm always forced to create the project with Maven or Gradle.
this video help russian guys too, thank you
Great job! Thanks!
that was quite helpfull. well done
thaaank u man, u r SUPERMAN
Error occurred during initialization of boot layer...
woooww... thanks you for your tutorial
Thank you for your kindness sir
Useful 👌👍
I like your video bro.
Thanks
Thank you very much man.
excellent it worked!
ty it really helped me :)
thank you for this video
If you have problems with run after you done everything in this video, try to delete module-info.java file.
thx bro, you saved me from hours of frustration 👍
Thank you for you tutorial...
This was really helpfull
Nice video
Nice, thanks👍
Question: do we have to add the VM options every time we create a new JavaFX file?
謝謝你 😎
Thanks bro👋👌👌👏
I am getting this error
Error occurred during initialization of boot layer
java.lang.module.FindException: Module com.example.project1 not found
I have followed the steps properly, but I am unable to solve it.(Using the eclpise latest version)
very helpful ,thank you.
This is a good tutorial! Could you create a video to teach how to use maven to create javafx project, I just follow the official document , but there is some wrong, I dont' know how to fix the bug.
thank you lifesaver.
Thanks for helping.
Thanks man!
Thank you! Thank you! Thank you!
Waddup bro... XD
Thanks @BroCode. You are just great!!!
But I have to set Library and VM option Again and Again whenever I create new project can you help me with that please ?
Thanks mate!
it helped..thanks a lot...
VM options do not show up as an available option for me.