Open Atreyagaurav opened 12 months ago
Forgot to add, DISPLAY
is set as :0.0
. So it shouldn't be that problem. And I run other java GUI programs like HEC-DSSVue, that works.
@Atreyagaurav The HeadlessException
seems more like a system issue than a Vortex issue. I'm not sure what Linux version you are using but most of our testing has been on Ubuntu 20.04 LTS.
Probably. But the instructions only give a way to run it with gradle, and it's not working. Is there a way to run the application from java? or any other way?
Online search on the error isn't helping much.
bash gradlew build -x test
Build fails with java11, but it builds with java 21.
But running
bash gradlew importer:run
gives:So, I tried
bash gradlew tasks
and saw there is "importer" and "run" separately,Trying
bash gradlew importer
fails withHeadlessException
:P.S. Results from
bash gradlew build -x test
I also tried to compile it installing
gradle 8.4
but it didn't work. So all of the above is when gradle isn't installed in the system.