Fwd: gcj can not import packages

mohan NMH mohan.nmh2@gmail.com
Wed Nov 9 12:49:00 GMT 2016


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /