Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: "cannot find symbol" error

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default "cannot find symbol" error

    In my project..while running a main program "cannot find symbol" error occurred.. I've attached error page,char1.java and BarRenderer.java files...
    Thanks in advance
    Attached Files Attached Files


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,778
    My Mood
    Mellow
    Thanks
    175
    Thanked 625 Times in 612 Posts

    Default Re: "cannot find symbol" error

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Please post your code, error, and other info you think will be helpful correctly per the above link. Most won't follow links or download and read attachments.

    "Cannot find symbol" means the compiler encountered a variable or method name that was not declared within the scope the error occurred, so is therefore unknown.

  3. The Following User Says Thank You to GregBrannon For This Useful Post:

    fazil (July 5th, 2014)

  4. #3
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: "cannot find symbol" error

    Thanks for answering my question.. can u encounter where I'm making mistake.. I don't knw how to solve this error..

  5. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,778
    My Mood
    Mellow
    Thanks
    175
    Thanked 625 Times in 612 Posts

    Default Re: "cannot find symbol" error

    Post the code pointed to by the error message and the entire error message as I asked above, and then I can help you find and fix the error.

Similar Threads

  1. Please help with "cannot find symbol" error
    By Kartika Wahyu I in forum Java Networking
    Replies: 1
    Last Post: May 12th, 2014, 04:59 AM
  2. "Error cannot find symbol" "throws BadLocationException"
    By coltson in forum AWT / Java Swing
    Replies: 1
    Last Post: June 30th, 2013, 10:33 PM
  3. "cannot find symbol" error when trying to use the getInt() method.
    By simpson_121919 in forum Collections and Generics
    Replies: 6
    Last Post: February 21st, 2013, 11:48 AM
  4. Replies: 3
    Last Post: January 22nd, 2013, 06:14 AM
  5. "Cannot find symbol" compilation error
    By collegejavastudent in forum What's Wrong With My Code?
    Replies: 7
    Last Post: December 12th, 2011, 04:07 PM