porting OpenJDK to a different OS not having java

Dr Andrew John Hughes gnu_andrew at member.fsf.org
Wed Feb 2 09:41:30 PST 2011

On 2 February 2011 17:35, Daniel Testa <danieltes at gmail.com> wrote:
> Hi all, I'm trying to port OpenJDK 6 to Minix3 but when run "gmake
> all" it says that "ant", along with other software, is needed. Ant
> needs java to run but I don't have java on Minix3 thus is why I'm
> trying to port OpenJDK.
> Is there any other way to build OpenJDK without having java
> preinstalled? at least a minimum set to be able to run "ant" and build
> the package in the default way.
> Any thoughts? advice on how to build and/or port?
> Thanks.
> Regards.
> Daniel.

You probably want to look at IcedTea: http://icedtea.classpath.org

IcedTea has support to bootstrap with gcj which is part of gcc (built
with --enable-languages=java) and should allow you to get around the
whole 'I need Java' issue with OpenJDK.  gcj can be built without an
existing JDK and can run ant in order to build OpenJDK.
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK

PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37

More information about the porters-dev mailing list