Error when running javafx app

I am trying to set up a simple javafx window in intellij community edition and i ran into an error.

Error: JavaFX runtime components are missing, and are required to run this application

What runtime components is it talking about?
Was this page helpful?