Could not instantiate Graphics Environment with building on mac

Chris Hegarty chris.hegarty at
Wed Jan 30 12:22:08 UTC 2013

Anyone see this failure when trying to build on mac. I have the latest 
jdk8/tl forest, as of 28th Jan.

## Starting jdk
Importing CORBA classes.jar
Importing CORBA
Importing CORBA
Importing JAXP classes.jar
Importing JAXP
Importing JAXWS classes.jar
Importing JAXWS
Importing LANGTOOLS classes.jar
Compiling 182 files for BUILD_TOOLS
Generating charsetmapping classes
Generating buffer classes
Generating exceptions classes
Generating icon classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 522 properties into resource bundles
Copying and cleaning 53 properties
Creating sun/util/ from 421 found resources.
Aliases: Table size 1024 (10 bits), shift 0, max chain depth 3
Classes: Table size 32 (5 bits), shift 1, max chain depth 3
Cache: Table size 32 (5 bits), shift 1, max chain depth 3
MergingHash:<Bridgesupportparser::ObjCArgInfo>thePoint[name]: thePoint 
=> aPoint
Exception in thread "main" java.lang.Error: Could not instantiate 
Graphics Environment: sun.java2d.HeadlessGraphicsEnvironment
	at java.awt.GraphicsEnvironment.createGE(
	at java.awt.image.BufferedImage.createGraphics(
	at java.awt.image.BufferedImage.getGraphics(
	at sun.awt.X11.ToBin.main(
make[2]: *** 
Error 1
make[2]: *** Waiting for unfinished jobs....
MergingHash:<Bridgesupportparser::ObjCArgInfo>thePoint[name]: thePoint 
=> aPoint
make[1]: *** [gensrc-only] Error 2
make: *** [jdk-only] Error 2
mikemac:macosx-x86_64-normal-server-release chhegar$


More information about the build-dev mailing list