Q:

Getting errors when runing javafx11 on raspberry pi using gradle

I am able to build my javafx11 application, but I get errors when running it using ./gradlew run
The error I get says something about unable to open DISPLAY
I have tried on both a terminal only install of raspbian and a full desktop install as well. 
So far I have done these things:
1) Install bellsoft full jdk
2) git clone gradle project
3) ./gradlew run
What am I doing wrong? 

A:

Nevermind, I figured it out after much, much more googling.  I ended up using nodm.