I don’t think I wrote about the above error before – but I have at several instances spend significant time on solving it…. In the output from the build there are some suggestions like setting some flags to disable JAVA in the configuration file, or setting the system up for Java.

But there is another possible reason that are not described in the output, and that is the reason that I usual have. The problem is that the various components of the build system are running from different directories, hence they need an absolute path to the configuration file – e.g. don’t write:

export MOZCONFIG=./myMozConfigFile

Give it the full path e.g.:

export MOZCONFIG=~/source/mozilla-central/myMozConfigFile

It’s ok to use ~ as the build system doesn’t change the “home” directory during the build.