LiClipse and Birt gives java.awt.HeadlessException error [message #1720273] |
Fri, 15 January 2016 17:31 |
Hubert Pineault Messages: 1 Registered: January 2016 |
Junior Member |
|
|
I'm running LiClipse instead of Eclipse. Birt install successfully, but when I try to run a report, it gives back the error "java.awt.HeadlessException".
This comes from the fact that LiClipse has by default a parameter in LiClipse.ini file (in root directory of LiClipse) specifying that headless could be used.
If you encounter this error, juste delete the line
-Djava.awt.headless=true
However, this parameter can resolve some issues as this one:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388170
That is why LiClipse includes it by default. Thereby, the problem can come up also with eclipse.
The problem comes from the fact that BIRT uses AWT instead of the regular SWT on which eclipse is running. There would probably be a way to build BIRT on SWT. A enhancement bug report has been filed on this question (https://bugs.eclipse.org/bugs/show_bug.cgi?id=485955).
|
|
|
Powered by
FUDForum. Page generated in 0.02659 seconds