Closed
Bug 1272728
Opened 9 years ago
Closed 6 years ago
mach bootstrap for Android does not install java
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: gw280, Unassigned)
Details
Fedora 22 here.
I set up an Android development environment using mach bootstrap. When it completed it said:
Your system should be ready to build Firefox for Android!
When I ran the build:
0:03.15 checking for javah... not found
0:03.15 ERROR: The program javah was not found. Set $JAVA_HOME to your Java SDK directory or use '--with-java-bin-path={java-bin-dir}'
0:03.16 *** Fix above errors and then restart with\
0:03.16 "/usr/bin/gmake -f client.mk build"
Mach should probably either install Java, or instruct the user to install it from Oracle's site if it's not available.
Comment 1•9 years ago
|
||
It appears the current bootstrapper code has limited support for installing Java. This would be a good thing to improve. The code is in python/mozboot/mozboot if anyone wants to have a go at it.
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 2•6 years ago
|
||
Java now also appears to be a dependency for Firefox desktop builds.
I got this error this morning:
> 0:07.69 ERROR: The program java was not found. Set $JAVA_HOME to your Java SDK directory or use '--with-java-bin-path={java-bin-dir}'
Running "./mach boostrap" did not help.
Summary: mach bootstrap doesn't install java or notify you to install java → mach bootstrap does not install java (the program java was not found)
![]() |
||
Comment 3•6 years ago
|
||
(In reply to Andreas Tolfsen ❲:ato❳ from comment #2)
> Java now also appears to be a dependency for Firefox desktop builds.
> I got this error this morning:
>
> > 0:07.69 ERROR: The program java was not found. Set $JAVA_HOME to your Java SDK directory or use '--with-java-bin-path={java-bin-dir}'
>
> Running "./mach boostrap" did not help.
Can you file a different bug for this? This bug was for Android, and Android bootstrap does install Java. I think this is a different issue, and a recent regression.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Summary: mach bootstrap does not install java (the program java was not found) → mach bootstrap for Android does not install java
You need to log in
before you can comment on or make changes to this bug.
Description
•