This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Redhat GCC 2.96 won't work? java/lang/String.java:0: bad value constant type 0, index 0
- To: burton at relativity dot yi dot org (Kevin A. Burton)
- Subject: Re: Redhat GCC 2.96 won't work? java/lang/String.java:0: bad value constant type 0, index 0
- From: Tom Tromey <tromey at redhat dot com>
- Date: 26 Jan 2001 11:05:20 -0700
- Cc: java-discuss at sources dot redhat dot com
- References: <m3vgr2wahd.fsf@relativity.yi.org>
- Reply-To: tromey at redhat dot com
>>>>> "Kevin" == Kevin A Burton <burton@relativity.yi.org> writes:
Kevin> burton@universe:/usr/home/burton/gcc
Kevin> gcj HelloWorld.java
Kevin> java/lang/String.java:0: bad value constant type 0, index 0
I've only seen this when I've tried to compile a .class file that was
built by the 1.2 JDK.
Do you have your CLASSPATH set? If so, unset it.
If not, try sending the output of `gcj -v'.
Kevin> What is up with this? Could it be the stupid compiler that
Kevin> comes with RedHat 7?
I seriously doubt it. For one thing, I dispute your characterization
of that compiler. It is probably the best released gcj so far.
Tom