Resolves ORACLETOOLS-38: Introduced support for running in java.awt.headless mode (by default for Coherence) (https://java.net/jira/browse/ORACLETOOLS-38)