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

Комментарии • 298

  • @BroCodez
    @BroCodez  4 года назад +13

    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

  • @eduard289
    @eduard289 2 года назад +116

    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

  • @lucaspont6659
    @lucaspont6659 Год назад +15

    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.

  • @WaqasAli-cw4en
    @WaqasAli-cw4en Год назад +66

    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 :)

    • @LaFlame111
      @LaFlame111 10 месяцев назад +1

      Life saver bro.
      Much appreciation

    • @mohammadjaber358
      @mohammadjaber358 9 месяцев назад +1

      Thanks bro

    • @LogicAndFur
      @LogicAndFur 8 месяцев назад

      Thank you! Removed that, and now it works!

    • @owaisgul
      @owaisgul 7 месяцев назад

      Exactly! You made my day bro 🎉.

    • @leonvonberks2142
      @leonvonberks2142 7 месяцев назад +1

      thanks lol just spant an hour with it

  • @ufiking1940
    @ufiking1940 Месяц назад

    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

  • @luckyone525
    @luckyone525 3 года назад +7

    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!

  • @Hadidiz
    @Hadidiz 3 года назад +54

    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

  • @bakedlorelei540
    @bakedlorelei540 4 года назад +7

    omg lifesaver! pls do continue this series T_T

  • @gerhardkotze5934
    @gerhardkotze5934 4 года назад +5

    Just keep on with this channel. You'll hopefull0y catch the algo wave soon. Good job.

    • @BroCodez
      @BroCodez  4 года назад +2

      Thanks Gerhard!

    • @gerhardkotze5934
      @gerhardkotze5934 4 года назад

      @@BroCodez Pleasure, sharing your videos with connections......

  • @badxxdevilxx3230
    @badxxdevilxx3230 3 года назад

    I couldn't run a JavaFX but after watching your video I figured out how to make it work.

  • @Sovit705
    @Sovit705 2 года назад +1

    Thank you so much, man. I was finding this only.

  • @enricosavegnago
    @enricosavegnago 4 года назад +3

    I think this channel will hit 100,000 subscribers soon!

    • @BroCodez
      @BroCodez  4 года назад +3

      whoa! That's a large jump! I'd be happy with 10,000 even lol

    • @risingviking2100
      @risingviking2100 4 месяца назад

      @@BroCodez here after 2 mil

    • @KelvinOsondu-n2o
      @KelvinOsondu-n2o Месяц назад

      is now 2.5million
      😁

  • @edimainwang1255
    @edimainwang1255 3 года назад

    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

  • @shiken_7288
    @shiken_7288 3 года назад +11

    bro hug, 2 hours of pain and you got me fixed

  • @VietNguyen-vj4su
    @VietNguyen-vj4su Год назад +1

    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!

  • @danielfaller5617
    @danielfaller5617 3 года назад +2

    Beautiful detailed explanation. Not as if it was a dificult thing but in its genre its perfect.

  • @hackak3271
    @hackak3271 3 года назад

    Best tutorial i have seen till now.

  • @benderbg
    @benderbg Год назад +4

    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 :)

  • @leeortiz7948
    @leeortiz7948 3 года назад

    This saved me, he gives step by step instructions that can be followed by a first grader THANKS!

  • @jowengonzales7678
    @jowengonzales7678 3 года назад +1

    You're great man...you saved my coding career.

  • @ZX10RArcher
    @ZX10RArcher 4 года назад +1

    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! :)

  • @HoD999x
    @HoD999x 2 года назад +5

    javafx is the messiest framework/libary to set up i've ever encountered

  • @KBoB5arc
    @KBoB5arc 3 года назад +1

    Light, fast and accurate, thanks for this video bro, you're awesome

  • @oskarremvang1226
    @oskarremvang1226 4 года назад +1

    I love you're videos man. Thank you so much

  • @diverstory
    @diverstory 3 года назад +21

    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.

    • @НадирШугай-н9о
      @НадирШугай-н9о 6 месяцев назад

      Have you figured out what we need to create a project in JavaFX? Maven or Gradle, which should I choose?

    • @НадирШугай-н9о
      @НадирШугай-н9о 6 месяцев назад

      or what sources do you recommend to study javaFX on inteliji?

  • @cankale8002
    @cankale8002 3 года назад +1

    better explained than my tutor, thanks man

  • @yuvrajkorotana7631
    @yuvrajkorotana7631 3 года назад +1

    Thanks precise and to the point just what I wanted, professors should give this videos link instead of pdf instructions.

  • @bacanalienigena
    @bacanalienigena 3 года назад +11

    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 😎

  • @abdelrahmanahmed1549
    @abdelrahmanahmed1549 3 года назад +1

    Straight to the point, thank you so much sir

  • @OttoTheMatRat
    @OttoTheMatRat 2 месяца назад

    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.

  • @mohmedishak8853
    @mohmedishak8853 3 года назад

    I watched the previous video in this series, damn Eclipse sucks, it's soooooo bad. IntelliJ is the best. Nice tutorial btw, thanks man.

  • @AncientPenguin1399
    @AncientPenguin1399 3 года назад

    Thank you so much. Helped a lot. Love you bro

  • @iamnot664
    @iamnot664 4 года назад +1

    Ur the best bro

  • @JamesBrodski
    @JamesBrodski Год назад

    Thank you so much. This video really helped. God bless you sir!

  • @aadityagupta6446
    @aadityagupta6446 3 года назад +23

    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

    • @FazHD
      @FazHD Год назад

      hey was you able to solve this issue, if so may i know the fix?

    • @booukes
      @booukes Год назад +2

      remove the VM options
      @@FazHD

    • @FazHD
      @FazHD Год назад +1

      @@booukes thanks, so I'll just disable the vm options and that will be fine right great thank you

    • @damienkim820
      @damienkim820 10 месяцев назад

      @@booukes Thanks it works for me now. But what is the point of configuring the virtual machine?

  • @odysseaskorelides7897
    @odysseaskorelides7897 4 года назад

    Another awesome video... keep it up :)

  • @leylagozelova5059
    @leylagozelova5059 2 года назад

    Finally well explained. Thank you

  • @Lobster-yz1gq
    @Lobster-yz1gq 3 года назад +1

    You helped me a lot, thank you very much.

  • @teit-9_piyushbhujbal66
    @teit-9_piyushbhujbal66 4 года назад

    Thanks BroCode. You are just great!!!

  • @MegaAG18
    @MegaAG18 3 года назад +1

    you are GOATED :)

  • @templetonpeck1084
    @templetonpeck1084 3 года назад +9

    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.

    • @unparalleleddimension1918
      @unparalleleddimension1918 3 года назад +5

      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

    • @justinsalas1004
      @justinsalas1004 Год назад

      @@unparalleleddimension1918 Thank you! I was about to give up but thank goodness I found your comment!

  • @abdennourslimani5701
    @abdennourslimani5701 Год назад

    great video keep up man

  • @saqibuzair7670
    @saqibuzair7670 3 года назад

    great channel ever

  • @fedorkarpov7444
    @fedorkarpov7444 4 года назад +1

    Thank you for your explanation! :)

    • @BroCodez
      @BroCodez  4 года назад

      Thanks for watching Fedor!

  • @Nursin-rg1ey
    @Nursin-rg1ey 3 года назад

    Thank You So Much YOU'VE SAVED ME

  • @hungphung6668
    @hungphung6668 3 года назад

    Thank you very much. My teacher did not guide particularly this one.

  • @giorgikelenjeridze1431
    @giorgikelenjeridze1431 5 месяцев назад

    your doing goo things
    nice job

  • @shakarafa
    @shakarafa 3 года назад

    Top tier vid

  • @lf00t
    @lf00t Год назад +1

    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

  • @floydem
    @floydem 3 года назад

    Thank you very much. It works now!

  • @shivpatel8288
    @shivpatel8288 2 года назад

    Amazing Video!

  • @johanamariamamanimeza2948
    @johanamariamamanimeza2948 2 года назад

    Gracias Totales, me sirvió de mucho, se lo agradezco!

  • @164neil
    @164neil 2 года назад +1

    После открытия Run -> Edit configurations не мог найти поле "VM options". Под кнопкой "Modify options" в этом же окне раскрывающийся список, там пункт "Add VM options"

  • @GRIEF_HARDT
    @GRIEF_HARDT 10 месяцев назад +1

    bro, really human computer code🤖👾💀

  • @brailinsondisla7792
    @brailinsondisla7792 2 года назад

    Thank you so much! Appreciate this :)

  • @Alexander-Tkachenko
    @Alexander-Tkachenko 3 года назад +1

    Спасибо! You best)

  • @ПЛЮШЕВЫЙИНВЕСТОР
    @ПЛЮШЕВЫЙИНВЕСТОР 3 года назад

    Спасибо , помогло , хотя языка не знаю , делал по шагам !

  • @BarbieEroralwaysapalapalah
    @BarbieEroralwaysapalapalah 3 года назад

    Thank you your video really helped me

  • @leovomit
    @leovomit 9 месяцев назад

    You are a life saver

  • @Ошаао
    @Ошаао 2 месяца назад

    Thank you very much, really thank you SO MUCH.

  • @toby8k
    @toby8k 3 года назад

    Excelent tutorial, I appreciate it

  • @smartdecoder
    @smartdecoder 3 года назад

    Thank You So Much Sir You Always help
    love you Sir........!

  • @guilhermemilanez7552
    @guilhermemilanez7552 3 года назад

    Lifesaver !!

  • @TheChronoTiger
    @TheChronoTiger 3 года назад +2

    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

  • @hhl316delta
    @hhl316delta 2 года назад

    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.

  • @safayedbinislam315
    @safayedbinislam315 3 года назад

    love you man

  • @ermiramustafa2048
    @ermiramustafa2048 3 года назад +3

    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.

  • @owlonaf
    @owlonaf 3 года назад

    this video help russian guys too, thank you

  • @MR2U2B
    @MR2U2B 3 года назад

    Great job! Thanks!

  • @altrou708
    @altrou708 3 года назад

    that was quite helpfull. well done

  • @alaaeddinalmajjo4874
    @alaaeddinalmajjo4874 3 года назад

    thaaank u man, u r SUPERMAN

  • @sm_akil
    @sm_akil 3 года назад +3

    Error occurred during initialization of boot layer...

  • @radifanazman
    @radifanazman 3 года назад

    woooww... thanks you for your tutorial

  • @omare4682
    @omare4682 2 года назад

    Thank you for your kindness sir

  • @ashkanshakiba9579
    @ashkanshakiba9579 3 года назад

    Useful 👌👍

  • @entpav4655
    @entpav4655 4 года назад

    I like your video bro.
    Thanks

  • @MayankSharma-ji5rc
    @MayankSharma-ji5rc 3 года назад

    Thank you very much man.

  • @ceznvr
    @ceznvr 3 года назад

    excellent it worked!

  • @bernhardresch4772
    @bernhardresch4772 3 года назад

    ty it really helped me :)

  • @ghost-elite
    @ghost-elite 4 года назад +1

    thank you for this video

  • @divyhonza
    @divyhonza Год назад +1

    If you have problems with run after you done everything in this video, try to delete module-info.java file.

    • @reyzfar3279
      @reyzfar3279 10 месяцев назад +1

      thx bro, you saved me from hours of frustration 👍

  • @OsmarLeninGonzalezEscorche
    @OsmarLeninGonzalezEscorche 3 года назад

    Thank you for you tutorial...

  • @mdtahmid9053
    @mdtahmid9053 3 года назад

    This was really helpfull

  • @voidlume
    @voidlume 3 года назад

    Nice video

  • @coin5207
    @coin5207 2 года назад

    Nice, thanks👍

  • @jamestogher1098
    @jamestogher1098 3 года назад +4

    Question: do we have to add the VM options every time we create a new JavaFX file?

  • @vincentv8707
    @vincentv8707 4 года назад +1

    謝謝你 😎

  • @meksudbuser9624
    @meksudbuser9624 Год назад

    Thanks bro👋👌👌👏

  • @abrahman8672
    @abrahman8672 3 года назад +1

    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)

  • @artyug4235
    @artyug4235 3 года назад

    very helpful ,thank you.

  • @xinranwang5230
    @xinranwang5230 3 года назад +1

    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.

  • @djpharaohoftime3200
    @djpharaohoftime3200 3 года назад

    thank you lifesaver.

  • @pieceofcake244
    @pieceofcake244 3 года назад

    Thanks for helping.

  • @midenderboy5287
    @midenderboy5287 3 года назад

    Thanks man!

  • @celi_xx
    @celi_xx 10 месяцев назад

    Thank you! Thank you! Thank you!

  • @paulcarlton598
    @paulcarlton598 2 года назад

    Waddup bro... XD

  • @shreyaswaghchaure7402
    @shreyaswaghchaure7402 4 года назад +1

    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 ?

  • @huzaifaali3969
    @huzaifaali3969 11 месяцев назад

    Thanks mate!

  • @furkanyapcoglu1180
    @furkanyapcoglu1180 3 года назад

    it helped..thanks a lot...

  • @GrabThatPencil
    @GrabThatPencil 3 года назад

    VM options do not show up as an available option for me.