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
Printable View
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
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.Quote:
Originally Posted by ComputerJy
How did you say that this is JDK 1.5 ?
Because the class "java.util.Scanner" didn't exist in old versions of java (look at the documentation)
It says "Since 1.5" there
Thanks