Hope this helped you out setting up JavaFX on Eclipse! Let me know if there is anything I can do to improve my future videos or if you had trouble, let me know here and I'll do my best to help :D
Jazer, thank you so so so much. I have watched 5 different videos and each of them were doing different things and causing errors for me. Your solution worked from the first go. Thank you 👍
OMG ! this video is such a great video ever. To be honest, I am struggling with javaFX set up almost a week I mean this video is very helpful. Thank you so much bro, keep going ! :)
if i ever come back to this video and see that someone has disliked it, i will find him and beat the shit out of him :D thanks, i really appreciate the video. some time ago i thought: swing is just old and ugly and i wanted to learn fx, BUT the setup just drove me crazy and i lost interest. i didnt code in java for a couple of years (think when lambda expressions were included), so i was so confused i couldnt find a single working tutorial i could follow without having issues i couldnt solve.
thank you so much you safed my day a lot of tutorials are missing out explaining what you are actually doing and why.. but not this one which helped a lot :D
Hello! When I click on my project properties -> Java Build Path, I don't see the ModulePath and Classpath options. How do I work around this? (P.S: those two options appear on other projects on eclipse, but not for JavaFX projects)
Thank you!! By far the best in terms of communication and thoroughness of the 5+ videos i watched with ~"install javaFX in eclipse" in their title. One question for anyone, is there a reason to not just put the javaFX file in the top level of the java directory? thanks in advance from a noobie programmer
Hi, Windows 10 user here, I followed the tutorial and it didn't quite work for me. JavaFX keywords still underlined red, and getting the error occurred during initialization of boot layer error. However, when I added my javafx user library from modulepath to classpath, it worked!!
Great Video! After all the steps, when I run my testing program it gives me this error: Error occurred during initialization of boot layer Can you help me out here, thanks (Mac user)
I was able to recreate the same error you're having on my mac. If you have a module-info.java file it can cause this boot layer error. The module info file is generated when you create a new project and should not affect your application if you remove it. My recommendation is to simply delete this module-info.java file from your project since it will be recreated if/when you export it to a jar file at which point it will work as the file is intended. Hope that solves the error but if it hasn't, let me know and I'll see what I can do :D
if I had the permission to do several likes on this video, I would do it a hundred times. Thank you very much. Can you show us how to add scene buider in eclipse by using Lunix?
Thank you so much for the praise :D I'll be sure to look into the scene builder for eclipse on linux and make a video when I find an elegant way to set it up so stay tuned!
When I copied it and set it up a 2nd time it gave me an error, but it worked just fine the first time, so that confused me a lot. It seems to work but when I went to set up a 2nd time like you did in the video by copying it and pasting it new-fx-project and Run.java, it gave me an error when trying to run it. import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public class Run extends Application { @Override public void start (Stage primaryStage) { try { BorderPane root = new BorderPane(); Scene scene = new Scene(root, 800, 400); primaryStage.setScene(scene); primaryStage.show(); } catch(Exception e) { e.printStackTrace(); } } public static void main(String[] args) { // TODO Auto-generated method stub launch(args); } } Exception in thread "main" java.lang.IllegalArgumentException: expected file name as argument at javafx.graphics@18.0.1/com.sun.javafx.css.parser.Css2Bin.main(Css2Bin.java:40) I copied and pasted in the error that it gave me and the code I copied and pasted, other than that this video was immensely helpful.
Hope this helped you out setting up JavaFX on Eclipse! Let me know if there is anything I can do to improve my future videos or if you had trouble, let me know here and I'll do my best to help :D
"How to setup JavaFX on IntelliJ IDEA the easy way" please🥺
Our University showed everyone this video to get them set up, nice one bro
Wow, I never thought this would be used at a university!
Glad the vid has helped you and your colleagues :D
Thank you so much! One of the most straight forward videos that I've seen in a while. Super helpful!
Jazer, thank you so so so much. I have watched 5 different videos and each of them were doing different things and causing errors for me. Your solution worked from the first go. Thank you 👍
Surprisingly it worked on the first try. A very rare thing to happen when I'm trying to install something on my computer. Thank you for your video
You just did in the way no body was doing... Thank you so much brother
OMG ! this video is such a great video ever. To be honest, I am struggling with javaFX set up almost a week I mean this video is very helpful. Thank you so much bro, keep going ! :)
I watched several videos on this very topic and this is what worked for me. Thank you for the video.
Happy to hear this helped you out :D
if i ever come back to this video and see that someone has disliked it, i will find him and beat the shit out of him :D
thanks, i really appreciate the video. some time ago i thought: swing is just old and ugly and i wanted to learn fx, BUT the setup just drove me crazy and i lost interest. i didnt code in java for a couple of years (think when lambda expressions were included), so i was so confused i couldnt find a single working tutorial i could follow without having issues i couldnt solve.
thank you so much you safed my day
a lot of tutorials are missing out explaining what you are actually doing and why.. but not this one which helped a lot :D
You're more than welcome :D
Glad my rambling helped explain some of the extra details
Nice tutorial and good explanation, this helped me a lot thank you.
Thank god you did this video, been sitting on this for quite a while!
Thank you so much I was about to turn crazy due to that last note about mac machines. Great job !
Man . . . this was amazing. Thank you SO much! This was the only source that was helpful!!!
Amazing video. Thanks for the clear step-by-step walk-through.
Thank you so much! And for the MacOS fix!!!! Great vid!
Thanks so much for this 👍
God bless you sir 🔥🔥🔥
More content please and thanks 😁
It is very well explained
I try my best :)
Thank you, this was a great help for me.
Holy shit ! You are the true one savior !
Glad you found it useful :D
Great. Thank you!
Glad it was helpful!
Thank you, tried a few other video's which did not work
thx it works
Hello! When I click on my project properties -> Java Build Path, I don't see the ModulePath and Classpath options. How do I work around this? (P.S: those two options appear on other projects on eclipse, but not for JavaFX projects)
I LOVE YOU I LOVE YOU I LOVE YOUUUUUUUUUUUUUUUUUUUUU
Hi. Thanks for the video. But is JavaFX still relevant today, or only good for learning..?
Well, what about using the e(fx)plug-in for eclipse? Does that not make it easier?
Thank you!! By far the best in terms of communication and thoroughness of the 5+ videos i watched with ~"install javaFX in eclipse" in their title. One question for anyone, is there a reason to not just put the javaFX file in the top level of the java directory? thanks in advance from a noobie programmer
Hi, Windows 10 user here, I followed the tutorial and it didn't quite work for me. JavaFX keywords still underlined red, and getting the error occurred during initialization of boot layer error. However, when I added my javafx user library from modulepath to classpath, it worked!!
Great Video! After all the steps, when I run my testing program it gives me this error:
Error occurred during initialization of boot layer
Can you help me out here, thanks (Mac user)
I was able to recreate the same error you're having on my mac. If you have a module-info.java file it can cause this boot layer error. The module info file is generated when you create a new project and should not affect your application if you remove it.
My recommendation is to simply delete this module-info.java file from your project since it will be recreated if/when you export it to a jar file at which point it will work as the file is intended.
Hope that solves the error but if it hasn't, let me know and I'll see what I can do :D
@@jazerbarclay483 i deleted the module-info.java file and still it gave me the same error
if I had the permission to do several likes on this video, I would do it a hundred times.
Thank you very much. Can you show us how to add scene buider in eclipse by using Lunix?
Thank you so much for the praise :D
I'll be sure to look into the scene builder for eclipse on linux and make a video when I find an elegant way to set it up so stay tuned!
I installed both java 8 and java 11
When i created my javafx project i selected JavaSE-11 and specified jre jdk 1.8.0 and it worked
the red squiggles didn't go away for me.
not done with the video yet btw
Good lord what a tedious installation process huh.
to improve your videos please speak slower. some are not nerds and its difficult new stuff.
When I copied it and set it up a 2nd time it gave me an error, but it worked just fine the first time, so that confused me a lot. It seems to work but when I went to set up a 2nd time like you did in the video by copying it and pasting it new-fx-project and Run.java, it gave me an error when trying to run it.
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class Run extends Application {
@Override
public void start (Stage primaryStage)
{
try
{
BorderPane root = new BorderPane();
Scene scene = new Scene(root, 800, 400);
primaryStage.setScene(scene);
primaryStage.show();
}
catch(Exception e)
{
e.printStackTrace();
}
}
public static void main(String[] args) {
// TODO Auto-generated method stub
launch(args);
}
}
Exception in thread "main" java.lang.IllegalArgumentException: expected file name as argument
at javafx.graphics@18.0.1/com.sun.javafx.css.parser.Css2Bin.main(Css2Bin.java:40)
I copied and pasted in the error that it gave me and the code I copied and pasted, other than that this video was immensely helpful.