Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread program not compiling  RSS feed

 
Radha Raman Pandey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running below code but getting compile time error " Cannot Find Symbol" .




[HENRY: Added code tags]

 
Henry Wong
author
Sheriff
Posts: 22835
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Radha Raman Pandey wrote:I am running below code but getting compile time error " Cannot Find Symbol" .


Works for me. Perhaps you can give us more detail about the error that you are getting?

Henry
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please provide the stack trace of the exception you are getting
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lalit Mehra wrote:please provide the stack trace of the exception you are getting

Compiler errors don't have stack traces, as they are very different from exceptions / throwables which only occur at runtime.

But yes, seeing the full compiler error would help. It would at least tell you which symbol could not be found.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!