JDK 8 Build Failure

Kelly O'Hair kelly.ohair at oracle.com
Mon Jan 28 16:37:44 UTC 2013


The official boot jdk for jdk8 is jdk7u7. It is unclear what jdk7 update you have. Newer should be fine,
and it's quite possible that older ones could work too, but officially, for RE/JPRT builds, we use 7u7.

I have never had good luck using the OEL 5 systems, the gcc is too old, but have never used OEL 6.
And I have never used the distro jdk7's as a boot jdk, but in theory they should work.

My tendency would be to install an Oracle jdk7u7, and try that, see if we can at least isolate it to some
kind of boot jdk issue.

-kto

On Jan 28, 2013, at 3:59 AM, Dalibor Topic wrote:

> On 1/28/13 10:35 AM, Erik Joelsson wrote:
>> Which platform are you building on?
> 
> Oracle Linux 6.3 (Linux OBI).
> 
>> What kind of boot jdk are you using.
> 
> config.status: 
> BOOT_JDK=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/ 
> 
>> It looks like there is an exception in one of the build tools (java source generation for X11) running on the boot jdk.
> 
> Anything I can dig into to help track this one down?
> 
> cheers,
> dalibor topic
> 
>> /Erik
>> 
>> On 2013-01-25 10:14, dalibor.topic at oracle.com wrote:
>>> I checked out jdk8/jdk8 and gave it a go using  the new build system. It failed eventually with
>>> 
>>> Generating exceptions classes
>>> Generating icon classes
>>> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre/lib/rt.jar: invalid LOC header (bad signature)
>>> Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/image/SunWritableRaster$DataStealer
>>>        at java.awt.image.DataBuffer.<clinit>(DataBuffer.java:517)
>>>        at javax.imageio.ImageTypeSpecifier.createComponentCM(ImageTypeSpecifier.java:249)
>>>        at javax.imageio.ImageTypeSpecifier$Interleaved.<init>(ImageTypeSpecifier.java:304)
>>>        at javax.imageio.ImageTypeSpecifier.createInterleaved(ImageTypeSpecifier.java:399)
>>>        at javax.imageio.ImageTypeSpecifier.createSpecifier(ImageTypeSpecifier.java:1169)
>>>        at javax.imageio.ImageTypeSpecifier.getSpecifier(ImageTypeSpecifier.java:1118)
>>>        at javax.imageio.ImageTypeSpecifier.createFromBufferedImageType(ImageTypeSpecifier.java:901)
>>>        at com.sun.imageio.plugins.png.PNGImageReader.getImageTypes(PNGImageReader.java:1494)
>>>        at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1280)
>>>        at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1577)
>>>        at javax.imageio.ImageIO.read(ImageIO.java:1448)
>>>        at javax.imageio.ImageIO.read(ImageIO.java:1352)
>>>        at sun.awt.X11.ToBin.main(ToBin.java:35)
>>> gmake[2]: *** [/media/OpenJDK/nashorn/jdk8/build/linux-x86_64-normal-server-release/jdk/gensrc/sun/awt/X11/XAWTIcon32_java_icon16_png.java] Error 1
>>> gmake[1]: *** [gensrc-only] Error 2
>>> 
>>> cheers,
>>> dalibor topic
> 
> 
> 
> -- 
> Oracle <http://www.oracle.com>
> Dalibor Topic | Principal Product Manager
> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961>
> Oracle Java Platform Group
> 
> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
> 
> ORACLE Deutschland B.V. & Co. KG
> Hauptverwaltung: Riesstr. 25, D-80992 München
> Registergericht: Amtsgericht München, HRA 95603
> Geschäftsführer: Jürgen Kunz
> 
> Komplementärin: ORACLE Deutschland Verwaltung B.V.
> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
> 
> Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment




More information about the build-dev mailing list