Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 11:34:46 -0400
From:      Kurt Miller <truk@optonline.net>
To:        Greg Lewis <glewis@eyesbeyond.com>, Alexey Zelkin <phantom@FreeBSD.org.ua>
Cc:        freebsd-java@freebsd.org
Subject:   Re: bootstrapping 1.4 with 1.3 (was JDK 1.5 / 5.0)
Message-ID:  <005701c4a0b9$b0922c20$1d0110ac@focus>
References:   <14C413EDD4FDAB48924086C19BF44F872E053C@MUCS040151.munich.munichre.com> <20040917054616.GA16333@misty.eyesbeyond.com> <20040917071229.GA18547@phantom.cris.net> <20040917134519.GA69537@misty.eyesbeyond.com> <001401c49ce5$9f494700$1d0110ac@focus>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Kurt Miller" <truk@optonline.net>
> I've tried the linux and solaris rt.jar and tools.jar, but it fails at the
> first invocation of native java with:
>
> Error occurred during initialization of VM
> java.lang.NoSuchMethodError: java.lang.Class.getName()Ljava/lang/String;
>
> If I can figure this problem out, I think I've got a way to bootstrap
> 1.4 using 1.3-linux and various distfiles.

While debugging the above problem, I realized that an older version
of the linux jdk might work better. I can now bootstrap 1.4 using this
method:

1) Use 1.3 java/javac for bootstrapping 1.4 hotspot build
2) Use 1.3 jar in all bootstrap cases
3) Use the linux 1.4 binary release (j2sdk-1_4_2-linux-i586.bin)
to get rt.jar and tools.jar and extract only the necessary bootstrap
classes.
4) Use a source only dist file containing additional bootstrap files.

I'll send a port that uses this method to openbsd-java soonish.

-Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005701c4a0b9$b0922c20$1d0110ac>