building JDK for new platform

Robert Pangrazio rpangrazio at gmail.com
Fri Aug 17 02:33:27 UTC 2007


Well I will look into that. I think that some more detail maybe
necessary. I am thinking of building for RiscOS. There is a really
nice project that allows you to compile programs written for linux, on
a linux machine, to run on a RiscOS machine. I would like to try to
use this to build Java. I was just wondering if it was a waste of
time, as I would be expecting the Linux native Java version to be used
in the build process.

On 8/15/07, Gary Benson <gbenson at redhat.com> wrote:
> 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