Skip to main content

Running glassfish with JVM otion -Djava.awt.headless=false

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2009-03-23


I am creating barcodes in my application running Glassfish 3.1.1. I am using Barbecue 1.5 and unfortunately this requires a non-headless application. I have added the JVM setting:

and so far things look ok. But before going to prod I want to make sure there is no risk. So here are my questions:
- what are the drawback of running non-headless? More memory/cpu usage?
- is it possible to run with this "-Djava.awt.headless=false" on a server that as no display or must I install Xvfb?