Compile Error

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
Experienced poster
Posts: 137
Joined: Wed Feb 27, 2002 2:00 am
Location: Pasadena, CA

Compile Error

Post by C8H10N4O2 » Tue Apr 16, 2002 9:46 pm

What does this mean?

Code: Select all '{' expected.
gcj: Internal compiler error: program jc1 got fatal signal 11

New poster
Posts: 8
Joined: Sun Oct 27, 2002 9:36 pm
Location: Coimbra, Portugal


Post by sacra » Thu Nov 14, 2002 8:37 pm

First, I think your mailer is breaking the lines where it shouldn't.
You are using the ReadLn() function and there's a comment on it that extends through two lines. Something like //utility function to read from stdin.

The compiler thinks that "stdin" is a normal statement that should be compiled. Remove that comment or use /**/ instead of just //.

If you still get that signal 11 stuff, read one of the other threads with people that have the same problem. "Giving up on gcj", for example...

Post Reply

Return to “Java”