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: tromey at redhat dot com
- Subject: Re: Redhat GCC 2.96 won't work? java/lang/String.java:0: bad value constant type 0, index 0
- From: burton at relativity dot yi dot org (Kevin A. Burton)
- Date: 26 Jan 2001 09:47:38 -0800
- Cc: java-discuss at sources dot redhat dot com
- References: <m3vgr2wahd.fsf@relativity.yi.org><87hf2mnq8v.fsf@creche.redhat.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom Tromey <tromey@redhat.com> writes:
> >>>>> "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.
AH!!! That makes perfect sense! :). It works now. Time to have fun!! :)
> 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.
ah... not totally my characterization. A lot of people flame it and one could
assume they have at least logical reasons. This is why I doubted it :)..
Kevin
- --
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burtonator@acm.org )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596
Fist in the air in the land of hypocrisy!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE6cbg6AwM6xb2dfE0RAvf9AJ9erB9IShXzhfRnG5Nwo55eOVku7ACfYC5V
EVWeI6+Wd98idPTSVaEdK28=
=YsLk
-----END PGP SIGNATURE-----
smuggle ammunition strategic quiche radar cracking Legion of Doom Kennedy
explosion kibo Waco, Texas PLO jihad [Hello to all my fans in domestic
surveillance] Uzi