Compiling Hotspot w/o dependencies

Xiaobin Lu Xiaobin.Lu at Sun.COM
Sat Apr 11 15:29:01 PDT 2009


J K wrote:
> Can hotspot be compiled on Linux (32 or 64bit) without the dependencies documented in openjdk/README-builds.html ?
>   
Hotspot can be compiled on Linux 32 /64 bit without much dependencies 
required. All you need is to get gcc, g++ and a bootstrap jdk. Refer to 
the build readme document for more details.
> I work at a company with restrictive IT policies and new software versions are prohibited.
>
> 1. http://www.java.net/download/openjdk/jdk7/promoted/b54/openjdk-7-ea-src-b54-09_apr_2009.zip
> 2. unzip
> 3. cd openjdk
> 4. make
>
>> ERROR: FreeType version  2.3.0  or higher is required.
>  make[2]: Entering directory `/home/hodben/openjdk/jdk/make/tools/freetypecheck'
> Required version of freetype: 2.3.0
> Detected freetype headers: 2.1.9
> Failed: headers are too old.
> Detected freetype library: 2.1.9
> Failed: too old library.
> make[2]: Leaving directory `/nfs/hodben/tarballs/openjdk/jdk/make/tools/freetypecheck'
>   
You might need to search for more recent freetype rpm for your linux 
system based on the error message.

-Xiaobin



More information about the hotspot-dev mailing list