From: Andrew Haley <aph@redhat.com>
To: mohan NMH <mohan.nmh2@gmail.com>
Cc: java@gcc.gnu.org
Subject: Re: Fwd: gcj can not import packages
Date: Wed, 09 Nov 2016 13:29:00 -0000 [thread overview]
Message-ID: <9335b6e8-ed7f-1e8d-4022-656da4681770@redhat.com> (raw)
In-Reply-To: <CANV4OqgvpxXFP9VSRFNVtbkTcR5PgAZNHVWaHF7VsoSu+k7_0w@mail.gmail.com>
On 09/11/16 12:49, mohan NMH wrote:
> On Wed, Nov 9, 2016 at 5:55 PM, Andrew Haley <aph@redhat.com> wrote:
>> On 09/11/16 11:29, mohan NMH wrote:
>>> Can someone help me to understand why gcj can not import packages
>>> while javac can? Any CLASSPATH setting required?
>>
>> java.util.Objects is Java 1.7. gcj is at the level of 1.4 - 1.5.
>
> Thanks Andrew. Could you please let me know what makes gcj at level of
> 1.4 - 1.5? Is it /usr/share/java/eclipse-ecj.jar?
It's the GCJ runtime library.
> Before this installation I tried with
> --with-ecj-jar=/usr/share/java/ecj4.4.jar. But the gcj failed to load
> org.eclipse.jdt.internal.compiler.batch.GCCMain.class. The ecj4.4.jar
> contains org.eclipse.jdt.internal.compiler.batch.Main.class while
> eclipse-ecj.jar contains
> org.eclipse.jdt.internal.compiler.batch.GCCMain.class. Therefore I
> chose eclipse-ecj.jar
>
> Please advise how to upgrade gcj to Java 1.8
It'd take a few programmer-years of work, I suspect. Maybe one
programmer could do it in a year, but that programmer would have to be
very expert.
GCJ is obsolete and its sources have been deleted from GCC.
Andrew.
next prev parent reply other threads:[~2016-11-09 13:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CANV4OqjehvrZUaMGbwn0Gu3KsesTy7aWVhY9cPETpnqwf_Zo0A@mail.gmail.com>
2016-11-09 11:29 ` mohan NMH
2016-11-09 12:26 ` Andrew Haley
2016-11-09 12:49 ` mohan NMH
2016-11-09 13:29 ` Andrew Haley [this message]
2017-01-16 17:41 ` Bill Chatfield via java
2017-01-16 20:10 ` Ricardo Wurmus
2017-01-16 22:58 ` Bill Chatfield via java
2017-01-16 23:24 ` Anthony Green
2017-01-17 9:56 ` Andrew Haley
2017-01-18 20:29 ` Ricardo Wurmus
2017-01-18 20:40 ` Matthias Klose
2017-01-18 20:59 ` Ricardo Wurmus
2017-01-19 9:59 ` Andrew Haley
[not found] ` <CAFXTvn525N1D_EOuCAWXSJugCpZCZCkc5GfuhNJ1nPoDK0DAoQ@mail.gmail.com>
2017-05-17 20:26 ` Ricardo Wurmus
2017-01-17 9:58 ` Andrew Haley
2017-01-17 15:21 ` Bill Chatfield via java
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9335b6e8-ed7f-1e8d-4022-656da4681770@redhat.com \
--to=aph@redhat.com \
--cc=java@gcc.gnu.org \
--cc=mohan.nmh2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).