Bug 10154

Summary: Eclipse-poky-neon requires java 1.8.0 to build
Product: [Infrastructure] AutoBuilder Reporter: Bill Randle <bill.randle>
Component: autobuilderAssignee: Michael Halstead <mhalstead>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: infras.ab.watcher, Infras.watcher, pidge, TicoTimo
Version: 2.2   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 9562, 9940    

Description Bill Randle 2016-08-16 20:57:50 UTC
The autobuilders need to be updated to java/jdk 1.8.0 in order to build the eclipse-poky-neon plugin.
Comment 1 Michael Halstead 2016-08-17 00:29:41 UTC
Will the eclipse-poky plugin build for all maintained releases with a 1.8.x jdk?
Comment 2 Bill Randle 2016-08-17 14:42:48 UTC
My understanding from Tim is that the older plugins will build under 1.8.0, as well. He can chime in, if I have that wrong.
Comment 3 Michael Halstead 2016-08-18 00:33:00 UTC
Here are the current default java versions:

1.8.x
centos7.osl.yoctoproject.org: openjdk version "1.8.0_101"
fedora23.osl.yoctoproject.org:openjdk version "1.8.0_101"
fedora24.osl.yoctoproject.org:openjdk version "1.8.0_101"
opensuse132.osl.yoctoproject.org: openjdk version "1.8.0_101"
opensuse421.i.yoctoproject.org:openjdk version "1.8.0_101"
ubuntu1604.osl.yoctoproject.org:openjdk version "1.8.0_91"

1.7.x
ubuntu1404.i.yoctoproject.org:java version "1.7.0_111"
debian8.osl.yoctoproject.org:java version "1.7.0_111"

We could provide 1.8.x on the debian8 and ubuntu1404 builders using Oracle's jdk but avoiding them when building for neon is a better option. That can be done when creating eclipse-plugin-neon.conf with the line below.

builders: ['centos7.osl.yoctoproject.org', 'fedora24.osl.yoctoproject.org', 'fedora23.osl.yoctoproject.org', 'opensuse132.osl.yoctoproject.org', 'opensuse421.osl.yoctoproject.org', 'ubuntu1604.osl.yoctoproject.org']