gcj version 3.4.4 compiles just fine. Segfault upon run.
Tom Tromey
tromey@redhat.com
Fri Feb 11 03:06:00 GMT 2005
>> class random {
>> should be:
>> public class random {
Actually this doesn't matter. The 'main' method must be public, but
there isn't a requirement that the class be.
> Ill try a recompile. Thing is, it never failed to work when compiled from
> the ports tree with the GCC 3.2, so it is kind of weird this is failing.
> Ill make sure to followup with the ports maintainer as well as here.
Usually strange crashes are some bug in the port. Offhand I couldn't
say what the problem is, I don't have access to a FreeBSD machine and
I'm not a FreeBSD expert.
Tom
More information about the Java
mailing list