BUILD_HEADLESS_ONLY (original) (raw)

Anthony Petrov anthony.petrov at oracle.com
Tue Mar 6 16:40:21 UTC 2012


Hi Martin,

On 3/6/2012 6:17 PM, martin burtscher wrote:

if I use BUILDHEADLESS=true the awt packages are included and useable. So either I understand BUILDHEADLESS wrong or it doesnt do what its supposed to do.

AWT can work w/o a display, e.g. for in-memory image manipulation, or printing support. So there's nothing wrong with having AWT packages built when the BUILD_HEADLESS is true.

Second point is: Why do i need ALTOPENWINHOME? I wanna build it headless, so there's no use of X11. I removed the CROSSCOMPILE options to test the headless build. (Just try to use the cross compile to be sure its working before i use a different compiler...) btw: changing ALTOPENWINHOME doesnt change anything with the errors (Xrender.h missing) i'll get when im using crosscompile.

AFAIK, currently there's no an officially supported way to build an AWT-less OpenJDK.

-- best regards, Anthony



More information about the build-dev mailing list