Urgent: Enabling java headless property in JDK 1.4
0 posts in topic
Flat View  Flat View

Posted By:   Sal_Joe
Posted On:   Monday, September 6, 2004 10:32 PM


If I enable headless support using either/both the System.setProperty("java.awt.headless", "true");
and the -Djava.awt.headless=true option it appears to be set. I can do a System.getProperty("java.awt.headless") and get "true" as a response.

However, the call to isHeadless() returns false still and the java.awt.Graphics calls to create Graphics fail still.

What can be wrong here? How to set the state to headless with JDK 1.4?


About | Sitemap | Contact