#How do I compile and run a java program on vs code

20 messages · Page 1 of 1 (latest)

amber pendant
#

title basically

cursive salmonBOT
#

Hey, @amber pendant!
Please remember to /close this post once your question has been answered!

midnight tiger
#

Do you have a run button? Did you install the Java plugin?

amber pendant
#

yes

#

can you help me install javafx first

#

im trying to figure it out but Its giving me errors

midnight tiger
#

make sure your modulepath and module-info.java is set up correctly

#

Do you use a build tool?

#

like Maven or Gradle

amber pendant
#

im not sure what those are

#

im new to java

midnight tiger
#

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

#

but make sure to not select the commercial (paid) components

#

Like don't select anything under Gluon Features