:</p>
<ul>
          
<li>
            Start Java with the <span class="codefrag">-Djava.awt.headless=true</span> command line option.
          </li>
          
<li>
            Install an X server which provides an in-memory framebuffer without actually using a
            screen device or any display hardware. One example is Xvfb.
          </li>
          
<li>
            Install a toolkit which emulates AWT without the need for an underlying X server. One
            example is the <a class="external"