Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 01-09-2009
Member
 
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?
Reply With Quote
  #2  
Old 01-09-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
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.
Reply With Quote
  #3  
Old 01-09-2009
Member
 
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.
Reply With Quote
  #4  
Old 02-09-2009
Member
 
Join Date: Feb 2009
Posts: 96
Re: Java 11 cannot find symbol

post the code so we can see it
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 04:22 AM.