Bug 10156

Summary: [eclipse-poky][neon] scripts/setup.sh should give a warning when Java version incorrect
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Tim Orling <tim.orling>
Component: eclipse-pluginAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: enhancement    
Priority: Medium+ CC: ioanax.grigoropol, sgw, yp.ep.watcher, yp.watcher
Version: 2.2   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Tim Orling 2016-08-16 22:19:42 UTC
Reference https://bugzilla.yoctoproject.org/show_bug.cgi?id=10154

When running the script from the command line, it is "somewhat" obvious that the JVM is the wrong version (e.g. 1.7 vs. 1.8). On the AB, the failure is non-intuitive and non-obvious. Add a check for the Java version and make the failure OBVIOUS.

This will come up again when Eclipse moves to Java 1.9 (with the Oxygen release?).
Comment 1 Tim Orling 2016-08-24 22:24:46 UTC
Patch sent to ML:
https://lists.yoctoproject.org/pipermail/yocto/2016-August/031713.html