This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Fwd: gcj can not import packages
- From: Anthony Green <green at redhat dot com>
- To: bill dot chatfield at yahoo dot com, Bill Chatfield <bill_chatfield at yahoo dot com>
- Cc: Ricardo Wurmus <rekado at elephly dot net>, Andrew Haley <aph at redhat dot com>, mohan NMH <mohan dot nmh2 at gmail dot com>, java at gcc dot gnu dot org
- Date: Mon, 16 Jan 2017 18:24:05 -0500
- Subject: Re: Fwd: gcj can not import packages
- Authentication-results: sourceware.org; auth=none
- References: <CANV4OqjehvrZUaMGbwn0Gu3KsesTy7aWVhY9cPETpnqwf_Zo0A@mail.gmail.com> <CANV4Oqhm440dav4AONgwW87VJ3+0c0S7KjdvnjwW+7V_VP2WJg@mail.gmail.com> <bac57298-a2aa-814d-603e-fde240be20f8@redhat.com> <CANV4OqgvpxXFP9VSRFNVtbkTcR5PgAZNHVWaHF7VsoSu+k7_0w@mail.gmail.com> <9335b6e8-ed7f-1e8d-4022-656da4681770@redhat.com> <59a501d2701f$b1bb1290$153137b0$@yahoo.com> <87ziiq937c.fsf@elephly.net> <59dc01d2704c$0d4ea910$27ebfb30$@yahoo.com>
This is an interesting question... For the extremely security
conscious, how can we build OpenJDK from source, assuming we have no
trusted JDK? Can something simpler than gcj be used, like kaffe?
AG
On Mon, Jan 16, 2017 at 5:58 PM, Bill Chatfield via java
<java@gcc.gnu.org> wrote:
> From the link, it looks like it would be correct to say that gcj is the *only* open source way to bootstrap OpenJDK.
>
> -----Original Message-----
> From: Ricardo Wurmus [mailto:rekado@elephly.net]
> Sent: Monday, January 16, 2017 3:10 PM
> To: Bill Chatfield <bill_chatfield@yahoo.com>
> Cc: 'Andrew Haley' <aph@redhat.com>; 'mohan NMH' <mohan.nmh2@gmail.com>; java@gcc.gnu.org
> Subject: Re: Fwd: gcj can not import packages
>
>
> Bill Chatfield via java <java@gcc.gnu.org> writes:
>
>> I understand that OpenJDK is available as open source now, to
>> "replace" gcj. But, gcj still has certain advantages that OpenJDK does
>> not have:
>>
>> 1. gcj can compile to a native executable. […]
>>
>> 2 gij is more memory efficient than OpenJDK at runtime. […]
>>
>> 3. OpenJDK only supports a few platforms. […]
>
> I would like to add one point: GCJ can be used to cleanly bootstrap the OpenJDK from source with a chain that starts with GCC’s C compiler, to GCJ, to OpenJDK 6 (via IcedTea).
>
> (The only wart is that later versions of GCJ rely on a pre-built jar of
> ecj.)
>
> This is why the bootstrappable builds project lists “Maintaining the GNU Compiler for Java” as a collaboration project.[1]
>
> [1]: http://bootstrappable.org/projects.html
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net
>
>