Closed
Bug 1398966
Opened 6 years ago
Closed 6 years ago
If javac is out of date, suggest to the user to check JAVA_HOME
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox57 fixed)
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
Details
Attachments
(1 file)
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.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•6 years ago
|
||
Heh, we actually have a test for the wording of the error message :)
Comment hidden (mozreview-request) |
Comment 4•6 years ago
|
||
mozreview-review |
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+
Comment 5•6 years ago
|
||
hg error in cmd: hg update --clean -r ba1cf2c8ad66: abort: unknown revision 'ba1cf2c8ad66'!
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07c36f901a06 Suggest checking JAVA_HOME if javac is out of date. r=nalexander
![]() |
||
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/07c36f901a06
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•5 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•