|
-
Sep 22nd, 2006, 01:53 PM
#1
Thread Starter
Junior Member
What does cannot resolve symbol
I am trying to run my Java program and it keep giving me a error.
Deli.java:11: cannot resolve symbol
symbol : class Scanner
location: package util
import java.util.Scanner;
Please tell me what that means. Thanks
-
Sep 22nd, 2006, 04:32 PM
#2
Re: What does cannot resolve symbol
It means you don't have JDK 1.5 or later installed correctly on your PC
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Sep 23rd, 2006, 12:35 AM
#3
PowerPoster
Re: What does cannot resolve symbol
 Originally Posted by ComputerJy
It means you don't have JDK 1.5 or later installed correctly on your PC
Exactly this is correct. I got the same error when i'm start to lern java. But i'm confusing with your answer.
How did you say that this is JDK 1.5 ?
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Sep 23rd, 2006, 07:13 AM
#4
Re: What does cannot resolve symbol
Because the class "java.util.Scanner" didn't exist in old versions of java (look at the documentation)
It says "Since 1.5" there
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Sep 25th, 2006, 01:04 AM
#5
PowerPoster
Re: What does cannot resolve symbol
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|