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?).
Patch sent to ML: https://lists.yoctoproject.org/pipermail/yocto/2016-August/031713.html
Merged. http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-poky/commit/?id=1c750b077e4fa80ec5a4743175c07772fa1d4d81