Results 1 to 4 of 4

Thread: Java 11 cannot find symbol

  1. #1
    Join Date
    May 2009
    Posts
    3,613

    Java 11 cannot find symbol

    I have a small piece of code which on compilation reults in unexpected exception : "UsingExceptions.java:11: cannot find symbol". This code was working perfectly OK before but suddenly started showing me problem. Can anyone help me why is this error appearing?

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Java 11 cannot find symbol

    You might be using some variables in your code that is not defined anywhere. In other words, a variable that is undefined results in this kind of error messages. Just make sure all your variables are defined and at proper locations.

  3. #3
    Join Date
    Nov 2008
    Posts
    1,054

    Re: Java 11 cannot find symbol

    This error occurs when compiler has found a variable name that it doesn't recognize or a method call that is missing parentheses. Is there any variable in your code that is misspelled or left undeclared. Also make sure that all the method has opening and closing parentheses.

  4. #4
    Join Date
    Feb 2009
    Posts
    96

    Re: Java 11 cannot find symbol

    post the code so we can see it

Similar Threads

  1. Cannot find symbol!
    By jackmarrow in forum Software Development
    Replies: 2
    Last Post: 08-03-2010, 10:37 PM
  2. Square Root Symbol In Java
    By Sheenas in forum Software Development
    Replies: 5
    Last Post: 27-01-2010, 10:27 AM
  3. Error while compiling: javac= "cannot find symbol"
    By Harper 21 in forum Software Development
    Replies: 5
    Last Post: 07-01-2010, 08:58 AM
  4. Error in Java file: Cannot find symbol
    By Jayden in forum Software Development
    Replies: 5
    Last Post: 02-09-2009, 08:48 AM
  5. Where can i find Cents symbol in Word and Excel
    By Kamran in forum Windows Software
    Replies: 3
    Last Post: 16-05-2009, 11:47 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,701,884.54469 seconds with 17 queries