Not able to run my JavaFX jar file on Raspberry Pi 3(Raspbian)

Multi tool use
Not able to run my JavaFX jar file on Raspberry Pi 3(Raspbian)
I am trying to run my JavaFX program (Aiish_GUI.jar) on Raspberry Pi 3 B+, And I get an error which looks like this:
When i run command with sudo:
When i run command without sudo
As can be seen in the first image, my JavaFX project includes exteral library jar files(Apache POI to read and write excel files)
The project was done in IntelliJ IDE and artifacts created from the same. It works as Expected in Windows 10 and Ubuntu 16.04 but i get these problems on Raspbian
Extra details
I am totally new to Raspberry Pi as well as Raspbian OS. Hope i can get my program running soon. Thanks in advance :)
Thanks for the reply @JoséPereda! I am new to Raspberry Pi.. Hence I don't know how to logout to the shell. Please let me know :) Thank you
– Vrushank V
Jun 30 at 20:23
You can logout from the program menu, and then click exit to command line.
– José Pereda
Jun 30 at 20:45
Thanks for the reply again! :D I tried running from the command line.. And got the same error-> imgur.com/a/spz6KsM . :( .. My code and jar files are available here -> github.com/VrushankV/Localization-GUI-AIISH .
– Vrushank V
Jul 1 at 6:14
Maybe you can try now a simple project just to test that your setup (OpenJDK + JavaFX) is correct?
– José Pereda
Jul 1 at 9:04
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Have you tried running the app without X Windows? Just logout to the shell, and run it there again.
– José Pereda
Jun 30 at 13:55