#How do I compile and run a java program on vs code
20 messages · Page 1 of 1 (latest)
Hey, @amber pendant!
Please remember to /close this post once your question has been answered!
Do you have a run button? Did you install the Java plugin?
yes
can you help me install javafx first
im trying to figure it out but Its giving me errors
make sure your modulepath and module-info.java is set up correctly
Do you use a build tool?
like Maven or Gradle
JavaFX isn't part of Java
If you want to use it, you need to do some additional setup
If you want to use it, you need to do some additional setup
JavaFX
and you might also want to take a look at https://start.gluon.io/ for generating a working JavaFX project
but make sure to not select the commercial (paid) components
Like don't select anything under Gluon Features