• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[newbie] bracketing error

 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone see my bracketing error?



 
Henry Wong
author
Marshal
Pie
Posts: 21022
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It is actually pretty easy to spot, but instead of telling you right away, I recommend that you start here....

at homenetwork.bkr.training.ChopLineNumbers.main(ChopLineNumbers.java:54)


Generally, by the time the compiler figures out that the braces are all screwed up, it is past the point of the error.... So... I recommend that you start at line 54, and work backwards, looking for out-of-place braces.

Henry
 
Henry Wong
author
Marshal
Pie
Posts: 21022
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And BTW....



Go back and recompile your program. And use the error message from the compiler. This error message is caused by the IDE, when the IDE is telling you that your program has errors, and would you like to run it anyway.... and you said yes.... NEVER run a program that has compile errors.

Henry
 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:And BTW....



Go back and recompile your program. And use the error message from the compiler. This error message is caused by the IDE, when the IDE is telling you that your program has errors, and would you like to run it anyway.... and you said yes.... NEVER run a program that has compile errors.

Henry


Just read it for the upteenth time...found it I think.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic