hotspot build instructions

Prasad Kulkarni prasad1310 at
Fri Feb 1 05:52:01 PST 2008

Thanks everyone for your help.
My research only involves making changes to the hotspot JVM. I do not want to build the class libraries and anything else that I don't have to. Earlier this week, I downloaded just the hotspot compiler from one of Sun's site (not the OpenJDK) and built it on fedora/gcc 4.1.2 after making some changes to the source files, mainly due to gcc incompatibilities, I believe. I also downloaded the latest java SDK hoping that just by replacing the file all would work.

Since that did not work, I started looking at the OpenJDK project. One question I have is, exactly how much of the entire JDK does one have to build to start customizing hotspot? The hotspot FAQ page provides instructions to get the source for the hotspot VM. Those links did not work for me, in particular the one for the source bundle,

So, I have been attempting to download the OpenJDK using Volker's instructions on his weblog. Currently, I don't have all the files as yet, mercurial only downloads 26 files without hgforest. So, I will try to solve those issues today. Please let me know if any one has any suggestions.


> Date: Thu, 31 Jan 2008 22:23:34 -0800
> From: Peter.Kessler at Sun.COM
> Subject: Re: hotspot build instructions
> To: prasad1310 at
> CC: hotspot-dev at
> I wrote osse-build-linux-i586 back when all we had out in the
> open was the HotSpot source code.  It's been superseded by all
> the good work people have done making it easy (possible) to
> build HotSpot as part of building the whole OpenJDK.
> Do you want to build just HotSpot (the JVM, no class libraries)
> or do you want to build the whole JDK?  If so, you might want
> to post questions on build-dev at
> I'll take a note to clean up old
> web pages, but it won't make it to the top of my stack soon.
> 			... peter
> Prasad Kulkarni wrote:
>> Hi,
>> I am attempting to install hotspot, and use it for some of our research.
>> Although I have downloaded all the source files, the link to the "instructions
>> for building Hotspot VM" does not seem to work for me. I am trying to open the
>> link from the FAQ page at:
>> The link for instructions for linux points to:
>> I will greatly appreciate if it could be possible to fix the link, or for some
>> one to send me their copy of the build instructions.
>> thank you,
>> Prasad

Need to know the score, the latest news, or you need your Hotmail®-get your "fix".

More information about the hotspot-dev mailing list