you cannot imagine how thankful i am of you, watched so many 15 min+ tutorials for absolutly NOTHING and you made a 2 minute video and it worked instantly, instant like, youre awesome thank you!!!!!!!!!!!!!!!!!
You are awesome. Thank you so much for the video! I went through almost 10 tutorials about 5-10 minutes each and no luck. I really appreciate it. I need this thing running for my college project!
Thank you so...much, it's only takes 2 minutes, but so useful for me. I confused first cause it didn't work, but then I found what wrong is, the double backslash on the path to the lib folder. Great.
Try: "vmArgs": "--module-path \"LIB PATH\" --add-modules javafx.controls,javafx.fxml", You must include the \" around the path, which for all the videos and threads I saw don't. Maybe it's a VS thing that changed quietly. Additionally, each java file you add or make you must edit the launch.json to include that path.
Error occurred during initialization of boot layer java.nio.file.InvalidPathException: Illegal char at index 95: C:sersarushownloadspenjfx-21.0.2_windows-x64_bin-sdk (1)avafx-sdk-21.0.2ib --enable-preview -XX:+ShowCodeDetailsInExceptionMessages -cp C:\\Users\\Aarush\\AppData\\Roaming\\Code\\User\\workspaceStorage\\22490aef2b6d66ff556f31983bddfc39\ edhat.java\\jdt_ws\\JavaFX_1dcb2023\\bin. This error is showing in the terminal
I got this same error at first. Make sure the path in the "vmArgs" is in this format \"C:\\user\\test\\jdk\\lib\". The \ before both of the quotation marks " escapes the character so it won't cause a syntax error. So it should be something like this: "vmArgs": "--module-path \"C:\\user\\test\\jdk\\lib\" --add-modules javafx.controls,javafx.fxml"
Not all heroes wear capes.... ps: I was gonna say, one thing you could do to be perfect is adding that command line but apparently you did that too, i am speechless.
Please understand that i'm in no shape or form equipped to trouble shoot if you have a problem with this solution. I'm just showing what worked for me as you can see in the video
Can you help me ? Each time i open the project from another folder or another computer, it creates a new configuration object in the launch.json, but without the "vmArgs" so i get an error and need ot add the line, every time, its a real problem if i give my project to someone else.. thank you so much !
if you open the project on another computer the path to the FX/lib fodler will be different i asume so you need to change it anyway, but you can send the .JSON at tell them to add that line according to ther file structure. I don't know another solution to that problem
@@net0x206 no, the path is the same because i have out this : "vmArgs": "--module-path ${workspaceFolder}/lib/JavaFx/lib --add-modules javafx.controls,javafx.fxml"
because i edit them at home, and then at work, and also i need to share them for review and suggestions, so each time its a new computer, it thinks its a new root folder or something, EVEN if i have put ${workspaceFolder}/lib/JavaFx/lib as the path. For example, right now it has : "configurations": [ { "type": "java", "name": "Launch App", "request": "launch", "mainClass": "App", "projectName": "Labo1_bf8fbf9", "vmArgs": "--module-path ${workspaceFolder}/lib/JavaFx/lib --add-modules javafx.controls,javafx.fxml" } ] but if i move that project elsewhere, this object will be remade bellow copied as a second object but with a different random name beside Labo1_... but without the vmArgs so it crashes... :(
hey i dont know if this is a mac problem but i get this error code: Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found
Great help, thx man ❤
Few things i wanna add,
update to latest java SE and JDK and restart once, then follow the video.
you cannot imagine how thankful i am of you, watched so many 15 min+ tutorials for absolutly NOTHING and you made a 2 minute video and it worked instantly, instant like, youre awesome thank you!!!!!!!!!!!!!!!!!
@@Airstrike_lol So glad it worked for you!
You are awesome. Thank you so much for the video! I went through almost 10 tutorials about 5-10 minutes each and no luck. I really appreciate it. I need this thing running for my college project!
Ha, same exact thing for me, glad i could help !
Thank you so...much, it's only takes 2 minutes, but so useful for me. I confused first cause it didn't work, but then I found what wrong is, the double backslash on the path to the lib folder. Great.
Not working for me, says javafx missing components
Try:
"vmArgs": "--module-path \"LIB PATH\" --add-modules javafx.controls,javafx.fxml",
You must include the \" around the path, which for all the videos and threads I saw don't. Maybe it's a VS thing that changed quietly.
Additionally, each java file you add or make you must edit the launch.json to include that path.
@@jacobh1833 Nice thx man
@@jacobh1833 thank you sir , I too got same error !!.. you save my day
Just create a javafx project instead of a java project, this solved the issue for me.
Error occurred during initialization of boot layer
java.nio.file.InvalidPathException: Illegal char at index 95: C:sersarushownloadspenjfx-21.0.2_windows-x64_bin-sdk (1)avafx-sdk-21.0.2ib --enable-preview -XX:+ShowCodeDetailsInExceptionMessages -cp C:\\Users\\Aarush\\AppData\\Roaming\\Code\\User\\workspaceStorage\\22490aef2b6d66ff556f31983bddfc39\
edhat.java\\jdt_ws\\JavaFX_1dcb2023\\bin. This error is showing in the terminal
I got this same error at first. Make sure the path in the "vmArgs" is in this format \"C:\\user\\test\\jdk\\lib\". The \ before both of the quotation marks " escapes the character so it won't cause a syntax error. So it should be something like this: "vmArgs": "--module-path \"C:\\user\\test\\jdk\\lib\" --add-modules javafx.controls,javafx.fxml"
This video is amazing. I've been looking for so long and this was the only thing that worked. You should make more tutorials.
thank you so much !
I have been trying to do this for DAYS! You helped me do it in 2 minutes. Thank you so much!
Nice man! Glad it worked for you
Thank you so much, I needed to download this to cram for a java placement test I'm taking in a week and this was the only tutorial I found that worked
So glad i could help !
Finally I found one that works, thanks a lot man
I watch like three 30 mins tutorial and didn't help, but this save my ass. Thank you!
Велике дякую, добра людина.
TY SO MUCH YOU ARE A LIFESAVER! I HOPE EVERYTHING GOOD HAPPENS IN YOUR LIFE! YOURE THE BESTTT
haha, so glad it helped !
Not all heroes wear capes....
ps: I was gonna say, one thing you could do to be perfect is adding that command line but apparently you did that too, i am speechless.
Works perfectly
nice !
Thank you very much for the tuto! It was really helpful and straigthforward👍
this was really useful thanks :)
Glad it worked for you !
Please understand that i'm in no shape or form equipped to trouble shoot if you have a problem with this solution. I'm just showing what worked for me as you can see in the video
10/10 mate!
Glad i could help !
code you provided doesnt work even after you change the path
Can you help me ? Each time i open the project from another folder or another computer, it creates a new configuration object in the launch.json, but without the "vmArgs" so i get an error and need ot add the line, every time, its a real problem if i give my project to someone else.. thank you so much !
if you open the project on another computer the path to the FX/lib fodler will be different i asume so you need to change it anyway, but you can send the .JSON at tell them to add that line according to ther file structure. I don't know another solution to that problem
@@net0x206 no, the path is the same because i have out this :
"vmArgs": "--module-path ${workspaceFolder}/lib/JavaFx/lib --add-modules javafx.controls,javafx.fxml"
because i edit them at home, and then at work, and also i need to share them for review and suggestions, so each time its a new computer, it thinks its a new root folder or something, EVEN if i have put ${workspaceFolder}/lib/JavaFx/lib as the path. For example, right now it has :
"configurations": [
{
"type": "java",
"name": "Launch App",
"request": "launch",
"mainClass": "App",
"projectName": "Labo1_bf8fbf9",
"vmArgs": "--module-path ${workspaceFolder}/lib/JavaFx/lib --add-modules javafx.controls,javafx.fxml"
}
]
but if i move that project elsewhere, this object will be remade bellow copied as a second object but with a different random name beside Labo1_... but without the vmArgs so it crashes... :(
Thank you !
Thank you brother.
help me this error with ?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
same lol
same
hey i dont know if this is a mac problem but i get this error code: Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
I keep getting this error
Graphics Device initialization failed for : d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
I don't know about that error. Sounds like a windows problem
Greatest chad
how can you get the java projects dropdown to show up in vs code?
nevermind found it in the search util ctrl+shift+f
Thanks for the vid helped me a lot!
thank you for making this
can you create a video that shows how to connect scene builder to VScode please
danke dir
didn't work for me unfortanutely
loveu man
how do you have that great desk????
@@joel.forteza its an app called rocket dock
for some reason it output nothing
Godsent
I can build simple java app, but Im too dumb and cant set up my station.
чео ты решил мою проблему которую я решал 3 дня
ебать ты лучшый
pray for me yall
Didn't help