Closed Bug 1398966 Opened 4 years ago Closed 4 years ago
If javac is out of date, suggest to the user to check JAVA
59 bytes, text/x-review-board-request
I recently tried to build Fennec, and was momentarily stumped by the error: ERROR: javac 1.8 or higher is required (found 1.7.0_151) which surprised me because the "javac" in my PATH was 1.8. The culprit was my JAVA_HOME environment variable, which was pointing to the older 1.7 Java installation. I think it would be helpful if the error message contained a hint to check JAVA_HOME.
Heh, we actually have a test for the wording of the error message :)
Comment on attachment 8906826 [details] Bug 1398966 - Suggest checking JAVA_HOME if javac is out of date. https://reviewboard.mozilla.org/r/178540/#review183878 Thanks, botond!
Attachment #8906826 - Flags: review?(nalexander) → review+
hg error in cmd: hg update --clean -r ba1cf2c8ad66: abort: unknown revision 'ba1cf2c8ad66'!
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/07c36f901a06 Suggest checking JAVA_HOME if javac is out of date. r=nalexander
You need to log in before you can comment on or make changes to this bug.