Bug 10156 - [eclipse-poky][neon] scripts/setup.sh should give a warning when Java version incorrect
Summary: [eclipse-poky][neon] scripts/setup.sh should give a warning when Java version...
Status: RESOLVED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.2 M3
Assignee: Tim Orling
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-16 22:19 UTC by Tim Orling
Modified: 2016-08-25 21:22 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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