entrendipity/gremlin-node — pull request #19 by jcamins (2013-08-06 18:14:14+00:00)
Title: Issue #11: AWT error on Mac OS X

When trying to load Titan on Mac OS X, the following error occurs:

2013-07-05 18:33:18.335 node[2120:707] Apple AWT Java VM was loaded on first thread -- can't start AWT.

This can be fixed by adding the option -Djava.awt.headless=true to the
command line.

I tested this on a Mac and a system running Ubuntu 12.04 with the following Java version:
$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

If you have other systems, please test this to confirm the option doesn't cause problems with your setup.