How to run an app headless?

Thiago Milczarek Sayão thiago.sayao at gmail.com
Thu Jun 8 18:06:44 UTC 2023


Hi,

I'm building javafx with:
./gradlew -PincludeMonocle build

And trying to test with:
java @/home/tsayao/jfx/build/run.args -Dglass.platform=Monocle
-Dmonocle.platform=Headless -Dprism.order=sw WindowTest.java

But it seems monocle was not included:
java.lang.ClassNotFoundException:
com.sun.glass.ui.monocle.MonoclePlatformFactory

Any obvious mistake?

-- Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230608/969911cb/attachment.htm>


More information about the openjfx-dev mailing list