michi@sysvorOrt ~/programmierung/java $ javac raten.java
raten.java:4: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class raten
raten.java:4: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class raten
2 errors
Bitte prüfen ob das Scanner Modul importiert wurde
import java.util.Scanner;