diff --git a/server/src/com/google/refine/Refine.java b/server/src/com/google/refine/Refine.java index b44eace51..3e51dbc4b 100644 --- a/server/src/com/google/refine/Refine.java +++ b/server/src/com/google/refine/Refine.java @@ -113,7 +113,9 @@ public class Refine { server.init(host,port); boolean headless = Configurations.getBoolean("refine.headless",false); - if (!headless) { + if (headless) { + System.setProperty("java.awt.headless", "true"); + } else { try { RefineClient client = new RefineClient(); client.init(host,port);