Women in Technology

Hear us Roar



Article:
  Building a Unix Server
Subject:   It used to
Date:   2004-08-27 07:04:40
From:   tlaurenzo1
If you were doing AWT image manipulation in your server app, it had to be able to connect to an XServer prior to Java 1.4. In Java 1.4, you can add an argument (I think it is "-Djava.awt.headless=true") that tells it to only enable the parts of AWT that don't depend on an XServer (this includes about everything that a server side app would use).
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • It used to
    2004-08-27 09:28:38  riksca [View]

    That is great to know, thanks.
    • java awt with headless server
      2004-09-06 06:14:12  simbo [View]

      The PJA Toolkit provides a pure java implimentation of AWT. You tell the JVM to use it on the startup options. This works with versions of earlier than 1.4. This is particularly helpful if you are using a server app that builds charts and other images that use the awt classes to draw the shapes.