Execute the configure script from the root directory of the project source. Specific JAVA version can be set for building (different from the one registered with your system) by executing:
Windows
configure -jdkhome %JAVA_HOME%
Fedora (Linux)
./configure -jdkhome %JAVA_HOME%
(Where JAVA_HOME is the path to your JDK installation)
Possible parameters for the configure script are:
configure - Creates build.properties file with default values for all possible parameters. It can work only if there is a default JAVA registered with the system. configure -help - Displays Help screen configure -version - Sets the version number for the project. configure -release - Sets the release number for the project. configure -buildid - Sets the build id for the project. configure -jdkhome - Sets the "JAVA HOME" location of Java to be used to compile the project. configure -instdir - Sets the location of the installation dir used when executing make script with install target specified. configure -rebranding - ONLY FOR WINDOWS. Flag that determines if the project will be "rebranded" with the context of branding folder. Possible values [true/false]. configure -language - ONLY FOR WINDOWS. Used by NSIS when creating setup (normally used for rebranding). Possible values [English/Portuguese/PortugueseBR]. Multiple parameters can be specified at once. Example: configure -version 3.3 -release 1 -buildid 20110721-0808 -jdkhome C:/jdk1.6 -instdir C:/JaWE
The configure script will create/change the build.properties file based on the parameters provided. This file can also be manually changed to adjust your environment/parameters for building the project from the sources.