Your class is unable to compile because there is no compiler to compile the class. JRE!=JDK. JRE is runtime environment but JDK is a development Kit. I am not sure if Eclipse JRE6.0 provides compiler...
Type: Posts; User: Mr.777
Your class is unable to compile because there is no compiler to compile the class. JRE!=JDK. JRE is runtime environment but JDK is a development Kit. I am not sure if Eclipse JRE6.0 provides compiler...
It's Scanner not scanner.