BUILD_HEADLESS_ONLY (original) (raw)
David Holmes david.holmes at oracle.com
Wed Mar 7 01:56:16 UTC 2012
- Previous message (by thread): BUILD_HEADLESS_ONLY
- Next message (by thread): hg: jdk8/build/jaxws: 7150322: Stop using drop source bundles in jaxws
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 7/03/2012 2:40 AM, Anthony Petrov wrote:
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 BUILDHEADLESS is true.
Yep. BUILD_HEADLESS indicates to build headless support into the JDK. Headful support is always present.
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.
Yes. The BUILD_HEADLESS_ONLY support was added for SE Embedded "legacy" support for systems where you can't even compile the AWT code etc. But even that no longer works correctly with the OpenJDK code base.
Martin: you would have to add ifndef BUILD_HEADLESS_ONLY in suitable places to disable all AWT support in your build. I'm afraid I can't tell you where all those places might be though.
David
-- best regards, Anthony
- Previous message (by thread): BUILD_HEADLESS_ONLY
- Next message (by thread): hg: jdk8/build/jaxws: 7150322: Stop using drop source bundles in jaxws
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]