building JDK for new platform

Gary Benson gbenson at redhat.com
Wed Aug 15 11:34:24 UTC 2007


Hi Robert,

I use IcedTea's bootstrap VM and plug replacements.  Build them with:

  hg clone http://icedtea.classpath.org/hg/icedtea
  cd icedtea
  ./configure
  make boot plugs

Then build the JDK with:

  export ALT_BOOTDIR=/path/to/icedtea/bootstrap/jdk1.6.0
  export ALT_CLOSED_JDK_IMPORT_PATH=/path/to/icedtea/bootstrap/jdk1.7.0

Cheers,
Gary
  
Robert Pangrazio wrote:
> I noticed that to build JDK 6 or higher you need an existing Java
> setup. I was wondering how you go about building the JDK for a new
> platform. If i have a cross compilation setup for my new platform,
> can I use the build machines native JDK, or do I have to have a JDK
> that is native to my new platform. If i have to have a native JDK
> to build the JDK how do you build the first native JDK?
> 
> Thanks
> Bob



More information about the build-dev mailing list