From: mohan NMH <mohan.nmh2@gmail.com>
To: Andrew Haley <aph@redhat.com>
Cc: java@gcc.gnu.org
Subject: Re: Fwd: gcj can not import packages
Date: Wed, 09 Nov 2016 12:49:00 -0000 [thread overview]
Message-ID: <CANV4OqgvpxXFP9VSRFNVtbkTcR5PgAZNHVWaHF7VsoSu+k7_0w@mail.gmail.com> (raw)
In-Reply-To: <bac57298-a2aa-814d-603e-fde240be20f8@redhat.com>
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.
>
> Andrew.
>
>
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?
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
next prev parent reply other threads:[~2016-11-09 12:49 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 [this message]
2016-11-09 13:29 ` Andrew Haley
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=CANV4OqgvpxXFP9VSRFNVtbkTcR5PgAZNHVWaHF7VsoSu+k7_0w@mail.gmail.com \
--to=mohan.nmh2@gmail.com \
--cc=aph@redhat.com \
--cc=java@gcc.gnu.org \
/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).