I getting this error in unix. Google suggested that I should set this property. -Djava.awt.headless=true I am running weblogic , please help where can I specify thsi property which filw is it user properties or weblogic specific?
You set headless to true when Jre cannot get the graphics initialized in the environment in which your application is running. The abstract Windows toolkit requires that. It needs to be set on the console.
Aren't you accessing your application via a web browser, you are using weblogic, right?
-Djava.awt.headless=true is a JVM parameter, so it would go into the "java" command that runs WebLogic. You might ask in the WebLogic forum how to set it. Or look at WebLogic's startup script to see where it reads its JVM parameters from.
An IDE is no substitute for an Intelligent Developer.