Compiling Hotspot w/o dependencies
James Melvin
James.Melvin at Sun.COM
Sat Apr 11 16:48:30 PDT 2009
Hi,
Use 'make hotspot' to only build hotspot. It looks like you tried to
build the entire JDK and ran into a sanity check error for the class
libraries. Building hotspot should only run the hotspot sanity check.
Good Luck!
Jim
Xiaobin Lu wrote:
> 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